Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
pr71385.C
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
;
}