Debian Codegraph @

gcc/testsuite/g++.dg/init/array28.C

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