FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / access11.C
blob31a89b2ede8b3b271c4e9845980d95c506c909db
1 // PRMS Id: 4900
2 // Bug: g++ doesn't apply access control uniformly to type conversion operators
3 // Build don't link:
5 struct A {
6 protected:
7   operator int * () const;
8 };
10 struct B : public A {
11   int * foo () { return A::operator int *(); }