// PR c++/98486 // { dg-do compile { target c++20 } } template concept C = __is_same(T, U); struct A { template> static int v; }; template<> int A::v; template<> int A::v; // { dg-error "match" } int x = A::v; int y = A::v; // { dg-error "invalid" }