2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / soverload.C
blobb29e64936b68310f1aee7c8a3a01a14bd7e03166
1 // { dg-do assemble  }
2 // Bug: dfs_pushdecls doesn't create an overload list for member functions,
3 //   like it claims to.
5 struct A
7   static int foo (int);
8   static int foo (int, int);
9   void bar () { foo (1, 2); }   // { dg-bogus "" } broken overloading