(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
other/
pr77548.C
// PR c++/77548
// { dg-do compile }
// { dg-options "" }

struct S
{ 
  int f (void) { return 0; }
  int f (int)  { return f ? : 1; } // { dg-error "cannot resolve overloaded function" }
};