Sign in
llvm
/
llvm-archive
/
2d92d8f3eda4630e3e80be62081ca797828d58e1
/
.
/
llvm-gcc-4.2
/
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
};