Debian Codegraph @

gcc/testsuite/g++.dg/cpp23/static-operator-call5.C

raw
1 // PR c++/108526
2 // { dg-do compile { target c++23 } }
3 // { dg-additional-options -g } PR108706
4
5 template<class> void f()
6 {
7 auto a = [] (auto x) static { return x; };
8 }
9 template void f<int>();