// { dg-do compile { target c++20 } } // { dg-additional-options "-fconcepts" } namespace zero { template struct S { template requires(... and (s == f)) static void F() { } }; void foo(S<>) {} } namespace one { template concept Foo = true; template struct foo { template foo(U...) requires (Foo && ...) {} }; void bar(foo) {} }