1 // { dg-do assemble  }
2 // PRMS Id: 4900
3 // Bug: g++ doesn't apply access control uniformly to type conversion operators
4 
5 struct A {
6 protected:
7   operator int * () const;
8 };
9 
10 struct B : public A {
fooB11   int * foo () { return A::operator int *(); }
12 };
13