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;