// PR c++/99904 // { dg-do compile { target c++20 } } template concept C = (Ts::value && ...); template requires C struct A; template requires true struct B; template requires C class TT> struct S; using ty1 = S; using ty2 = S; // { dg-error "constraint" } TT's constraints don't subsume B's