PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / init / array28.C
blob8cf19ba43310b6f02ff4e78af11146fd5c80541e
1 // PR c++/49669
3 struct Foo { explicit Foo(int) { } };
4 struct Goo {
5   Goo() : x(Foo(4), Foo(5)) { } // { dg-error "array" }
6   Foo x[2];
7 };