1 // PR c++/86476 - noexcept-specifier is a complete-class context
2 // { dg-do compile { target c++11 } }
7 virtual void g() noexcept;
8 virtual void h() noexcept(false);
13 void f() noexcept(true);
14 void g() noexcept(true);
15 void h() noexcept(true);
20 void f() noexcept(false);
21 void g() noexcept(false); // { dg-error "looser exception specification" }
22 void h() noexcept(false);