Sign in
llvm
/
llvm-archive
/
47f46514d69ad808308539dc6c69b907868fcf8a
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
access1.C
blob: 9d7104105b42d48dba2b3e243e057620a354dd7d [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: access declarations are broken.
class
A
{
public
:
void
foo
();
};
class
B
:
private
A
{
public
:
A
::
foo
;
};
void
foo
()
{
B b
;
b
.
foo
();
// { dg-bogus "" }
}