// PR c++/100374 // { dg-do compile { target c++20 } } template concept C = requires { typename T; }; template struct A { template U> void f(); template U> struct B; }; int main() { A a; a.f(); using type = A::B; }