1 2 3 4 5 6 7
// PR c++/49669 struct Foo { explicit Foo(int) { } }; struct Goo { Goo() : x(Foo(4), Foo(5)) { } // { dg-error "array" } Foo x[2]; };