Create embedded-5_0-branch branch for development on ARM embedded cores.
[official-gcc.git] / embedded-5_0-branch / gcc / testsuite / g++.dg / ext / has_nothrow_copy-6.C
blob6268ee292072305c9a9626512d0e7417e9668163
1 // { dg-do run }
2 #include <cassert>
4 struct S {
5     S (S&) throw ();
6     S (const S&, int) throw (int);
7 };
9 int main ()
11   assert (__has_nothrow_copy (S));