Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/lambda/lambda-variadic1.C

raw
1 // PR c++/49672
2 // { dg-do compile { target c++11 } }
3
4 template<typename ... Args>
5 static void foo()
6 {
7 [](Args..., int x) {
8 x;
9 };
10 }
11
12 int main()
13 {
14 foo();
15 }