Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
array28.C
blob: a75c36215f97dce10ac4062a7b57787e6fd6e17e [
file
] [
log
] [
blame
]
// PR c++/49669
struct
Foo
{
explicit
Foo
(
int
)
{
}
};
struct
Goo
{
Goo
()
:
x
(
Foo
(
4
),
Foo
(
5
))
{
}
// { dg-error "" "" { target { ! c++20 } } }
Foo
x
[
2
];
};