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