☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
init
/
array28.C
☽
☼
gcc/testsuite/g++.dg/init/array28.C
code
plain
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
};