Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail6561.d(9): Error: undefined identifier `x`
5 ---
6 */
7 struct S
8 {
9 alias x this; // should cause undefined identifier error
10 }
11
12 void main()
13 {
14 }