blob: 68ebc83f793591f4df9312e6d9997353a6fa8b84 (
plain)
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
32
33
34
|
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
# The -l switch should be applied from the #! line.
# Unfortunately, -P has a bug whereby the #! line is ignored.
# If this test suddenly starts printing blank lines that bug is fixed.
#define FOO "ok 1\n"
#ifdef BARMAR
# define YAR "not ok 2\n"
#else
# define YAR "ok 2\n"
#endif
print "1..2\n";
print FOO;
print YAR;
|