File: | /tmp/automake/lib/Automake/tests/Cond3.pl |
Coverage: | 100.0% |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | # Catch common programming error: | ||||||
2 | # A Condition passed as a string to 'new'. | ||||||
3 | 4 4 4 | 56 5 30 | use Automake::Condition; | ||||
4 | |||||||
5 | 4 | 21 | my $cond = new Automake::Condition ("COND1_TRUE"); | ||||
6 | 4 | 16 | new Automake::Condition ("$cond"); |