blob: c8ed0f6e5f0a52364acb53677cb1c8ea5e573fa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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();
}
|