| 1 | # test handling of string eval 'file names' that don't include the | ||
| 2 | # invoking filename (normally added when $^P & 0x100 is true). | ||
| 3 | |||
| 4 | 16 | shift; | |
| 5 | |||
| 6 | # fake an eval (using a #line directive) that doesn't match the | ||
| 7 | # usual "(eval N)[file:line]" syntax: | ||
| 8 | #line 42 "(eval 142)" | ||
| 9 | # [stats for the line below won't appear in reports because as far as perl is | ||
| 10 | # concerned the rest of this file isn't actually part of this file, but is | ||
| 11 | # actually part of a file called "(eval 142)"] | ||
| 12 | 242; |