Debian Codegraph @

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

raw
1 // https://issues.dlang.org/show_bug.cgi?id=21319
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/test21319.d(11): Error: circular reference to `test21319.C.c`
6 ---
7 */
8
9 class C
10 {
11 immutable C c = new C();
12 }