blob: 374f69d5a134f499304b8e4e4348b640cc527d94 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/lexer4.d(22): Error: unterminated character constant
fail_compilation/lexer4.d(24): Error: unterminated character constant
fail_compilation/lexer4.d(25): Error: unterminated character constant
fail_compilation/lexer4.d(26): Error: binary digit expected
fail_compilation/lexer4.d(27): Error: radix 8 digit expected, not `8`
fail_compilation/lexer4.d(27): Error: octal literals `0130` are no longer supported, use `std.conv.octal!130` instead
fail_compilation/lexer4.d(28): Error: radix 10 digit expected, not `a`
fail_compilation/lexer4.d(29): Error: unrecognized token
fail_compilation/lexer4.d(30): Error: exponent required for hex float
fail_compilation/lexer4.d(31): Error: lower case integer suffix 'l' is not allowed. Please use 'L' instead
fail_compilation/lexer4.d(32): Error: use 'i' suffix instead of 'I'
fail_compilation/lexer4.d(34): Error: line number `1234567891234567879` out of range
fail_compilation/lexer4.d(36): Error: #line integer ["filespec"]\n expected
fail_compilation/lexer4.d(19): Error: #line integer ["filespec"]\n expected
fail_compilation/lexer4.d(19): Error: declaration expected, not `"file"`
---
*/
static c1 = '
;
static c2 = '';
static c3 = 'a;
int i = 0b12;
int j = 0128;
int k = 12a;
int l = 12UU;
int f = 0x1234.0;
int m = 12l;
static n = 12.1I;
#line 1234567891234567879
#line whatever
#line 18 __FILE__
#line 20 "file" "file"
/** asdf *//** asdf2 */
int o;