// PR c++/110535 // { dg-do compile { target c++20 } } using F = int(int); using G = long(int); template struct A { operator F&() requires B; operator G&() requires (!B); }; int i = A{}(0); // { dg-bogus "ambiguous" } int j = A{}(0); // { dg-bogus "ambiguous" }