| 1 |
// { dg-do assemble } |
| 2 |
// Bug: dfs_pushdecls doesn't create an overload list for member functions, |
| 3 |
// like it claims to. |
| 4 |
|
| 5 |
struct A |
| 6 |
{ |
| 7 |
static int foo (int); |
| 8 |
static int foo (int, int); |
| 9 |
void bar () { foo (1, 2); } // { dg-bogus "" } broken overloading |
| 10 |
}; |