Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
has_nothrow_constructor-3.C
blob: 6306d72315b1fc79355f15bae9f874e77ae7682d [
file
] [
log
] [
blame
]
// PR c++/89914
struct
A
{
int
i
=
;
// { dg-error "expected" }
// { dg-error "non-static data member" "" { target c++98_only } .-1 }
};
bool
b
=
__has_nothrow_constructor
(
A
);