| 1 |
/* |
| 2 |
TEST_OUTPUT: |
| 3 |
--- |
| 4 |
fail_compilation/lexer2.d(16): Error: odd number (3) of hex characters in hex string |
| 5 |
fail_compilation/lexer2.d(17): Error: non-hex character 'G' in hex string |
| 6 |
fail_compilation/lexer2.d(18): Error: heredoc rest of line should be blank |
| 7 |
fail_compilation/lexer2.d(20): Error: unterminated delimited string constant starting at fail_compilation/lexer2.d(20) |
| 8 |
fail_compilation/lexer2.d(22): Error: semicolon expected following auto declaration, not `End of File` |
| 9 |
--- |
| 10 |
*/ |
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
// https://dlang.dawg.eu/coverage/src/lexer.c.gcov.html |
| 15 |
|
| 16 |
static s1 = x"123"; |
| 17 |
static s2 = x"123G"; |
| 18 |
static s4 = q"here notblank |
| 19 |
here"; |
| 20 |
static s5 = q"here |
| 21 |
"; |