2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / ext / has_nothrow_copy-4.C
blob4bd7475ea7ce390db781fd9f38b0b03f726eca0f
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));