blob: c12dd81dc87fb3da5b7162c0ad815d046c6a43c6 [file] [log] [blame]
// PRMS Id: 4955
// Build don't link:
struct A {
protected:
int i;
void f ();
};
struct B: public A {
void g () {
this->A::i = 1; // gets bogus error - access control failure
this->A::f(); // gets bogus error - access control failure
}
};