blob: f3c3809b36ddb37a8b17d0dd8b2c8580333cc754 [file] [log] [blame]
// 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>();
}