(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp2a/
concepts-pr87441.C
// { dg-do compile { target c++20 } }
// { dg-additional-options "-fconcepts-ts" }

template<typename X, typename Y = X>
concept bool HasBinaryAdd = requires(X x, Y y)
{
  {x + y} -> decltype(x + y);
};

void proc(HasBinaryAdd x, HasBinaryAdd y);