c: fix ICE when forming composite type for two structures / unions [PR117548]
[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;