1 // Test for checking of exception specifications on defaulted fns
2 // { dg-options -std=c++0x }
6 A() noexcept = default;
11 B() throw (int) = default; // { dg-error "exception-specification that differs from the implicit declaration" }
21 D() throw (int) = default;