Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/fail4206.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail4206.d(9): Error: initializer must be an expression, not `s`
5 ---
6 */
7
8 struct s {}
9 enum var = s;
10
11 void main() {}