1 // Test that we don't allow incomplete types in an exception-specification
2 // for a definition, or at a call site.
4 // { dg-options "-fpermissive -w" }
6 struct A; // { dg-error "" }
13 void B::f () throw (A) {} // { dg-error "A" }
18 b.f(); // { dg-error "A" }