Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-pr91525.C
blob: 700a1802a2ddbaae9b84a65d4dbfa3964d2ac7d0 [
file
] [
log
] [
blame
]
// PR c++/91525
// { dg-do compile { target c++20 } }
struct
X
{
void
operator
<<(
long
);
void
operator
<<(
bool
);
}
x
;
struct
B
{
template
<
bool
=
true
>
operator
bool
();
template
<
bool
=
true
>
requires
false
operator
bool
();
}
b
;
void
fn
()
{
x
<<
b
;
}