Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
);