// { dg-do link { target c++20 } } template T f(T t) { return t; } using L = decltype([]{ return f(42); }); int main() { return L()(); }