2016-12-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / g++.dg / ext / has_nothrow_copy-4.C
blob69e9a6bacdf3b3352c2e7a53be5fcab30a70d9e6
1 // PR c++/36872
2 // { dg-do run }
3 #include <cassert>
5 struct S {
6     S (const S&) throw ();
7     S (...) throw (int);
8 };
10 int main ()
12   assert (__has_nothrow_copy (S));