Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
soverload.C
blob: b29e64936b68310f1aee7c8a3a01a14bd7e03166 [
file
] [
log
] [
blame
]
// { 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
};