Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
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 "" }
}