Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
deduction-constraint1.C
blob: eba57713089fe2bc5622d94a5f3bbd06c35ce0e7 [
file
] [
log
] [
blame
]
// PR c++/67007
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
template
<
class
U
>
concept
bool
A
=
requires
(
U u
)
{
u
;
};
template
<
class
T
>
concept
bool
B
=
requires
(
T t
)
{
{
t
}
->
A
;
};
void
foo
(
B
);