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;
}