blob: 47a87bbfbd7599584bae850b440146ce0eb2cbb2 [file] [log] [blame]
// PR c++/106024
// { dg-do compile { target c++20 } }
void sink(...);
template <int... args> void f()
{
sink ([] <int T> (int...) { return 1; }
.operator()<args>(args...)...); // { dg-warning "-Wmissing-template-keyword" }
} // { dg-prune-output {expected '\)'} }
int main()
{
f<1,2,3>();
}