// PR c++/91525 // { dg-do compile { target c++20 } } struct X { void operator<<(long); void operator<<(bool); } x; struct B { template operator bool(); template requires false operator bool(); } b; void fn() { x << b; }