// PR c++/123080 // { dg-do compile { target c++20 } } template struct type_identity { using type = T; }; auto f = [](auto x) requires requires { typename type_identity::type(0); } {}; int main() { f(0); }