| 1 |
/* |
| 2 |
TEST_OUTPUT: |
| 3 |
--- |
| 4 |
fail_compilation/lexer23465.d(22): Error: character 0x1f37a is not allowed as a continue character in an identifier |
| 5 |
fail_compilation/lexer23465.d(22): Error: character 0x1f37a is not a valid token |
| 6 |
fail_compilation/lexer23465.d(23): Error: character '\' is not a valid token |
| 7 |
fail_compilation/lexer23465.d(24): Error: octal digit expected, not `9` |
| 8 |
fail_compilation/lexer23465.d(24): Error: octal literals larger than 7 are no longer supported |
| 9 |
fail_compilation/lexer23465.d(25): Error: integer overflow |
| 10 |
fail_compilation/lexer23465.d(26): Error: unterminated /+ +/ comment |
| 11 |
fail_compilation/lexer23465.d(27): Error: found `End of File` instead of array initializer |
| 12 |
fail_compilation/lexer23465.d(27): Error: semicolon needed to end declaration of `arr`, instead of `End of File` |
| 13 |
fail_compilation/lexer23465.d(20): `arr` declared here |
| 14 |
--- |
| 15 |
*/ |
| 16 |
|
| 17 |
// https://issues.dlang.org/show_bug.cgi?id=23465 |
| 18 |
// Invalid token error points to wrong line |
| 19 |
|
| 20 |
int[] arr = [ |
| 21 |
0, |
| 22 |
x🍺, |
| 23 |
3\, |
| 24 |
09, |
| 25 |
9999999999999999999999, |
| 26 |
5, /+ |