Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi17.C
blob: e69d6ced49bf72933a241f59d5a91c8b8cb3abe1 [
file
] [
log
] [
blame
]
// PR c++/98352
// { dg-do compile }
struct
A
{
int
i
=
(
A
(),
42
);
// { dg-error "default member initializer" }
// { dg-error "only available" "" { target c++98_only } .-1 }
};
A a
;