Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/diag19196.d(11): Error: unable to determine fields of `B` because of forward references
5 fail_compilation/diag19196.d(15): Error: template instance `diag19196.Foo!(B)` error instantiating
6 ---
7 */
8 module diag19196;
9 struct Foo(T)
10 {
11 alias F = typeof(T.tupleof);
12 }
13 struct B
14 {
15 Foo!B b;
16 }