Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / noexcept82.C
blobc996613139b5eab1e2200b6d7536d979715f2bb5
1 // DR 1351, Problems with implicitly-declared exception-specifications
2 // { dg-do compile { target c++11 } }
4 struct B {
5   virtual void f() noexcept;
6   virtual void g();
7   virtual void h() noexcept = delete;
8 };
10 struct D: B {
11   void f();                     // { dg-error "looser" }
12   void g() noexcept;            // OK
13   void h() = delete;            // OK