(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
expr/
cond11.C
struct A;
struct C
{
  operator A();
};

struct A
{
  A(C);
};

extern A a;
extern C c;

void
foo (bool b)
{
  b ? c : a;			// { dg-error "?:" }
  // { dg-message "ambiguous" "" { target *-*-* } .-1 }
}