Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice12827.d(10): Error: circular initialization of variable `ice12827.Test.i`
5 ---
6 */
7
8 struct Test
9 {
10 immutable int i = i;
11 }
12
13 void main()
14 {
15 }