Debian Codegraph @

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

raw
1 // PR c++/97839
2 // { dg-do compile { target c++20 } }
3 // Test that a lambda with <template-param-list> doesn't require
4 // a lambda-declarator.
5
6 int main()
7 {
8 []<typename T>{}.operator()<int>();
9 }