(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.old-deja/
g++.brendan/
overload1.C
// { dg-do assemble  }
// GROUPS passed overloading
class Foo
{
public:
  int f (void);
};

class Bar : public Foo
{
public:
      int f (int); // { dg-message "Bar::f|candidate expects" }
};

int main ()
{
  Bar b;

  b.f ();// { dg-error "no matching" } 
  b.f (10);
}