Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-friend5.C
blob: 394f141bf17bf00a2d70d4d09654ba05e65d825e [
file
] [
log
] [
blame
]
// PR c++/93400
// { dg-do compile { target concepts } }
template
<typename>
bool
a
=
true
;
template
<
typename
i
>
concept
b
=
a
<i>
;
template
<int>
struct
f
{
template
<
b c
>
friend
auto
g
(
c
,
f
);
};
auto
d
=
f
<
1
>{};
auto
e
=
f
<
0
>{};