http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
Bug ID: 60417
Summary: [4.9 regression] [DR 1518] Bogus error on C++03
aggregate initialization
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jason at gcc dot gnu.org
Depends on: 54835
This testcase is valid C++98, but we've started to reject it since the patch
for 54835.
struct A { explicit A(int = 0); };
struct B { A a; };
int main()
{
B b = {};
}