Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-recursive-sat3.C
blob: b2a6a796ea7cfbd4a9645dd443aa6ac1b1836701 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++20 } }
template
<
typename
T
>
concept
Fooable
=
requires
(
T t
)
{
foo
(
t
);
};
template
<
Fooable
T
>
void
foo
(
T t
)
{
}
void
test
()
{
foo
(
0
);
// { dg-error "no match" }
}