PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / defaulted41.C
blob4272012d5d53213c3e477c6e536f7c86a811c4a3
1 // PR c++/56343
2 // { dg-do compile { target c++11 } }
4 class B
6 public:
7   virtual ~B() noexcept(false) { }
8 };
10 class D : public B
12 public:
13   virtual ~D() = default;