Sign in
ara-mdk
/
platform
/
ndk
/
f0c51f0ab9251356c187d3ef07d3661b38cbe584
/
.
/
tests
/
device
/
test-stlport_shared-exception
/
jni
/
has_nothrow_copy-3.cpp
blob: 2fbcf8c80968c3de9c328e588c35f6ec609b3dd5 [
file
] [
log
] [
blame
]
// PR c++/36871
// { dg-do "run" }
#include
<cassert>
struct
F
{
F
(
const
F
&)
throw
()
{
}
template
<
class
T
>
F
(
T
)
throw
()
{
}
};
int
main
()
{
assert
(
__has_nothrow_copy
(
F
));
}