]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/defaulted41.C
Regenerate riscv.opt.urls and i386.opt.urls
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / defaulted41.C
1 // PR c++/56343
2 // { dg-do compile { target c++11 } }
3
4 class B
5 {
6 public:
7 virtual ~B() noexcept(false) { }
8 };
9
10 class D : public B
11 {
12 public:
13 virtual ~D() = default;
14 };