1 // Test that we don't allow incomplete types in an exception-specification
2 // for a definition, or at a call site.
4 // { dg-do compile { target c++14_down } }
5 // { dg-options "-fpermissive -w" }
7 struct A; // { dg-message "" }
14 void B::f () throw (A) {} // { dg-error "A" }
19 b.f(); // { dg-error "A" }