☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
has_nothrow_constructor-3.C
☽
☼
gcc/testsuite/g++.dg/ext/has_nothrow_constructor-3.C
code
plain
raw
1
// PR c++/89914
2
3
struct A
4
{
5
int i = ; // { dg-error "expected" }
6
// { dg-error "non-static data member" "" { target c++98_only } .-1 }
7
};
8
9
bool b = __has_nothrow_constructor (A);