File: | /tmp/automake/lib/Automake/tests/DisjCon2.pl |
Coverage: | 100.0% |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | # Catch common programming error: | ||||||
2 | # A non-Condition reference passed to new. | ||||||
3 | 4 4 4 | 60 5 29 | use Automake::Condition; | ||||
4 | 4 4 4 | 31 5 32 | use Automake::DisjConditions; | ||||
5 | |||||||
6 | 4 | 20 | my $cond = new Automake::Condition ('TRUE'); | ||||
7 | 4 | 17 | my $cond2 = new Automake::DisjConditions ($cond); | ||||
8 | 4 | 16 | new Automake::DisjConditions ($cond2); |