Sign in
llvm
/
llvm-archive
/
8a078a762a98ba34ad83dc2c15e5ff2b86792d78
/
.
/
llvm-gcc-4.2
/
llvmgcc42-2326.9
/
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
};