summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/newline-nul.c
blob: dd1b4199d422c97c0e146d3e288b216a8527be25 (plain)
ofshex dumpascii
0000 2f 2f 20 52 55 4e 3a 20 25 63 6c 61 6e 67 5f 63 63 31 20 2d 45 20 25 73 20 2d 76 65 72 69 66 79 //.RUN:.%clang_cc1.-E.%s.-verify
0020 0a 0a 2f 2f 20 57 65 20 75 73 65 64 20 74 6f 20 63 72 61 73 68 20 69 66 20 61 20 6c 69 6e 65 20 ..//.We.used.to.crash.if.a.line.
0040 63 6f 6e 74 69 6e 75 61 74 69 6f 6e 20 77 61 73 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 20 6e continuation.was.followed.by.a.n
0060 75 6c 20 62 79 74 65 20 77 69 74 68 69 6e 20 61 0a 2f 2f 20 70 72 65 70 72 6f 63 65 73 73 69 6e ul.byte.within.a.//.preprocessin
0080 67 20 64 69 72 65 63 74 69 76 65 2e 0a 23 20 69 66 20 31 20 5c 0a 00 23 69 66 20 73 6f 6d 65 74 g.directive..#.if.1.\..#if.somet
00a0 68 69 6e 67 5f 65 6c 73 65 20 2f 2f 20 65 78 70 65 63 74 65 64 2d 77 61 72 6e 69 6e 67 20 7b 7b hing_else.//.expected-warning.{{
00c0 6e 75 6c 6c 20 63 68 61 72 61 63 74 65 72 20 69 67 6e 6f 72 65 64 7d 7d 20 65 78 70 65 63 74 65 null.character.ignored}}.expecte
00e0 64 2d 65 72 72 6f 72 20 7b 7b 6e 6f 74 20 61 20 76 61 6c 69 64 20 62 69 6e 61 72 79 20 6f 70 65 d-error.{{not.a.valid.binary.ope
0100 72 61 74 6f 72 7d 7d 0a 23 65 72 72 6f 72 20 65 72 72 6f 72 0a 23 65 6e 64 69 66 0a 23 65 6e 64 rator}}.#error.error.#endif.#end
0120 69 66 20 2f 2f 20 65 78 70 65 63 74 65 64 2d 65 72 72 6f 72 20 7b 7b 23 65 6e 64 69 66 20 77 69 if.//.expected-error.{{#endif.wi
0140 74 68 6f 75 74 20 23 69 66 7d 7d 0a thout.#if}}.
OpenPOWER on IntegriCloud