blob: fb754253612eddf13d2cd5f9b9a830de27cda3d0 [file] [log] [blame]
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
template<class T>
concept bool Addable(){
return requires(T x){
{x + x} -> T;
};
}
int main(){
Addable t = 0;
}