Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-variadic7.C
blob: c8ed0f6e5f0a52364acb53677cb1c8ea5e573fa7 [
file
] [
log
] [
blame
]
// PR c++/86200
// { dg-do compile { target c++11 } }
template
<
typename
...
Args
>
static
void
foo
()
{
[](
Args
,
int
x
)
{
// { dg-error "packs not expanded" }
x
;
};
}
int
main
()
{
foo
();
}