Debian Codegraph @

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

raw
1 // https://issues.dlang.org/show_bug.cgi?id=23873
2
3 /*
4 TEST_OUTPUT:
5 ---
6 fail_compilation/imports/import23873.d(1): Error: (expression) expected following `static if`
7 fail_compilation/imports/import23873.d(1): Error: declaration expected following attribute, not `;`
8 fail_compilation/imports/import23873.d(3): Error: variable name expected after type `x`, not `End of File`
9 ---
10 */
11 struct Foo
12 {
13 import imports.import23873;
14 }