predicate aware uninitialized analysis
[official-gcc.git] / gcc / testsuite / g++.dg / parse / crash54.C
blob222082ab79b7678c08fd4c83452104c5c1f37209
1 // PR c++/42057
3 struct A; // { dg-error "forward declaration" }
5 struct B
7   virtual B* foo(A);
8 };
10 struct C : virtual B
12   virtual C* foo(A) { return 0; } // { dg-error "incomplete type" }
15 C c;