OSDN Git Service

* g++.dg/ext/altivec-17.C: Adjust error message.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / has_nothrow_copy-5.C
1 // PR c++/36872
2 // { dg-do "run" }
3 #include <cassert>
4
5 struct S {
6     S (const S&) throw ();
7     S (int) throw (int);
8 };
9
10 int main ()
11 {
12   assert (__has_nothrow_copy (S));
13 }