OSDN Git Service

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