mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
23 lines
1 KiB
C
23 lines
1 KiB
C
/* TEST_OUTPUT:
|
|
---
|
|
fail_compilation/test22339.c(101): Error: expression expected, not `.`
|
|
fail_compilation/test22339.c(101): Error: found `'a'` when expecting `}`
|
|
fail_compilation/test22339.c(101): Error: identifier or `(` expected
|
|
fail_compilation/test22339.c(101): Error: expected identifier for declarator
|
|
fail_compilation/test22339.c(101): Error: expected identifier for declaration
|
|
fail_compilation/test22339.c(101): Error: `=`, `;` or `,` expected to end declaration instead of `}`
|
|
fail_compilation/test22339.c(102): Error: expression expected, not `.`
|
|
fail_compilation/test22339.c(102): Error: found `'\x03'` when expecting `}`
|
|
fail_compilation/test22339.c(102): Error: identifier or `(` expected
|
|
fail_compilation/test22339.c(102): Error: expected identifier for declarator
|
|
fail_compilation/test22339.c(102): Error: expected identifier for declaration
|
|
fail_compilation/test22339.c(102): Error: `=`, `;` or `,` expected to end declaration instead of `}`
|
|
---
|
|
*/
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=22339
|
|
|
|
#line 100
|
|
|
|
enum { A = .'a' };
|
|
enum { B = .'\x03' };
|