blob: 051675c4d00d5c2b86e976322d0b3f7abbf35301 [file] [log] [blame]
// PR c++/36872
// { dg-do "run" }
#include <cassert>
struct S {
S (const S&) throw ();
S (int) throw (int);
};
int main ()
{
assert (__has_nothrow_copy (S));
}