| 1 |
|
| 2 |
# 1 "<stdin>" |
| 3 |
This file is testing line counting in various scenarios involving |
| 4 |
escaped newlines, including using the trigraph escape sequence |
| 5 |
|
| 6 |
--> 4 4 |
| 7 |
"multi-line string" |
| 8 |
|
| 9 |
|
| 10 |
--> 8 8 |
| 11 |
'multi-line character constant' |
| 12 |
|
| 13 |
|
| 14 |
--> 12 12 |
| 15 |
multi-line 012345678 integer constant |
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
--> 17 17 |
| 20 |
multi-line list of tokens |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
--> 24 24 |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
--> 28 28 |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
--> 36 36 |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
--> 40 40 |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
--> 48 48 |
| 51 |
|
| 52 |
#pragma multi-line #pragma directive |
| 53 |
# 49 "<stdin>" |
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
--> 52 52 |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
--> 57 57 |
| 63 |
multi-line macro embedded |
| 64 |
--> 59 59 |
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
--> 64 64 |
| 70 |
macro with a leading comment |
| 71 |
--> 66 66 |
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
--> 70 70 |
| 76 |
macro with leading whitespace and escaped newlines |
| 77 |
--> 72 72 |
| 78 |
|
| 79 |
a token split by escaped newlines |
| 80 |
|
| 81 |
|
| 82 |
--> 77 77 |
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
#pragma multi-line #pragma inside if-true block |
| 91 |
# 84 "<stdin>" |
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
--> 87 87 |
| 96 |
|
| 97 |
--> 89 89 |
| 98 |
|
| 99 |
#pragma with a preceding comment |
| 100 |
# 90 "<stdin>" |
| 101 |
|
| 102 |
--> 91 91 |
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|
| 108 |
--> 97 97 |