Debian Codegraph @

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

raw
1 // REQUIRED_ARGS: -c -o-
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/gag4269a.d(12): Error: undefined identifier `B`
6 ---
7 */
8
9 static if(is(typeof(A4269.sizeof))) {}
10 class A4269
11 {
12 void foo(B b);
13 }