File: | /tmp/automake/lib/Automake/tests/DisjCon3.pl |
Coverage: | 100.0% |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | # Catch common programming error: | ||||||
2 | # A non-reference passed to new. | ||||||
3 | 4 4 4 | 59 4 31 | use Automake::Condition qw/TRUE FALSE/; | ||||
4 | 4 4 4 | 29 5 34 | use Automake::DisjConditions; | ||||
5 | |||||||
6 | 4 | 23 | my $cond = new Automake::Condition ("COND1_TRUE"); | ||||
7 | 4 | 21 | new Automake::DisjConditions ("$cond"); |