soverload.C   [plain text]


// Bug: dfs_pushdecls doesn't create an overload list for member functions,
//   like it claims to.
// Build don't link:

struct A
{
  static int foo (int);
  static int foo (int, int);
  void bar () { foo (1, 2); }	// gets bogus error - broken overloading
};