blob: e7065d9baa0dcfcbbb934abec1c38026b9ac348c [file] [log] [blame]
// { dg-do assemble }
// Bug: access declarations are broken.
class A {
public:
void foo ();
};
class B: private A {
public:
A::foo; // { dg-warning "deprecated" }
};
void foo() {
B b;
b.foo (); // { dg-bogus "" }
}