Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice4983.d(14): Error: circular reference to `ice4983.Foo.dg`
5 ---
6 */
7
8 struct Foo
9 {
10 void bar()
11 {
12 }
13
14 void delegate() dg = &Foo.init.bar;
15 }