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 "" }
}