1 // Test for checking of exception specifications on defaulted fns
2 // { dg-do compile { target c++11 } }
6 A() noexcept = default;
13 B() throw (int) = default; // { dg-message "exception-specification" }
16 B b; // { dg-error "deleted" }
27 D() throw (int) = default;