summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/soverload.C
blob: b29e64936b68310f1aee7c8a3a01a14bd7e03166 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// Bug: dfs_pushdecls doesn't create an overload list for member functions,
//   like it claims to.

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