Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/lambda-targ14.C

raw
1 // PR c++/119345
2 // { dg-do compile { target c++20 } }
3
4 void f(auto... args) {
5 [args...]<int... i> {
6 (..., [args...] { i; });
7 }.template operator()<0>();
8 }
9
10 int main() {
11 f();
12 }