Sign in
ara-mdk
/
platform
/
ndk
/
9d7f057c923cfb33a554f239d8c4692ff191e6d7
/
.
/
tests
/
device
/
test-stlport_shared-exception
/
jni
/
has_nothrow_copy-5.cpp
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
));
}