URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [access11.C] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// PRMS Id: 4900
// Bug: g++ doesn't apply access control uniformly to type conversion operators
struct A {
protected:
operator int * () const;
};
struct B : public A {
int * foo () { return A::operator int *(); }
};
Go to most recent revision | Compare with Previous | Blame | View Log