Debian Codegraph @

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

raw
1 // PR c++/47226
2 // { dg-do compile { target c++11 } }
3
4 void slurp(...) { }
5 template<int ...N>
6 void print() {
7 slurp([]() -> int {
8 (void) N; // or something fancy...
9 return 0;
10 }() ...);
11 }