// { dg-do compile { target c++20 } } // { dg-additional-options "-fconcepts" } template concept True = true; template struct S { friend bool operator==(S, int) requires (True) { return true; } friend bool operator==(S, int) requires (!True) { return true; } }; int main() { S s; }