// PR c++/123408 // { dg-do compile { target c++20 } } template constexpr int zero = 0; template using int_alias = int; template using inner = int_alias<[](auto) { return 0; }((Arg)0)>; template constexpr int outer = [](auto) { return zero>; }(0); using type = decltype(outer); using type = const int;