Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-generic-variadic22.C
blob: 9c02d0715c11c6b29414e786047e634a1b08ecb4 [
file
] [
log
] [
blame
]
// PR c++/104624
// { dg-do compile { target c++14 } }
template
<
typename
T
>
auto
f
(
T
)
{
auto
a
=
[](
auto
...
i
)
// { dg-prune-output "incomplete" }
{
int
x
[][
i
]
=
{
0
};
// { dg-error "not expanded" }
}();
}
void
g
()
{
f
(
0
);
}