// { dg-do compile { target c++20 } } template struct A { }; template void g(A<[]{return N;}()>) {} int main() { g<1>({}); }