summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/t/run/switchx.aux
blob: 106b2f79c6ba6d83ceed5b0e39d0a377dd2921f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Some stuff that's not Perl

This CPP directive should not be read.
#define BARMAR 1

#perl

Still not perl.

#!

still not perl

#!/something/else

still not perl

#!/some/path/that/leads/to/perl -l

print "1..8";
print "ok 1 - Correct line number" if __LINE__ == 4;
if (-f 'run/switchx.aux') {
    print "ok 2 - Test file exists";
}
print "ok 3 - Test file utilized";
# other tests are in switchx2.aux

__END__

# This is ignored
print "not ok 2";