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