Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail60.d(14): Error: cannot construct nested class `B` because no implicit `this` reference to outer class `A` is available
5 ---
6 */
7 class A
8 {
9 class B
10 {
11
12 }
13
14 B b=new B;
15 }