Home | History | Annotate | Download | only in jni
      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 }
     13