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