Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-pr67692.C
blob: c712d727235f2d078e6caaa88b76822a23357968 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++20 } }
template
<
class
T
>
bool
f
(
T x
)
{
return
requires
(
T x
)
{
++
x
;
};
}
int
main
()
{
f
(
3
);
return
0
;
}