URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [conv4.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
// Testcase for proper hiding of base conversion ops.
struct A
{
operator const char *();
};
struct B : public A
{
operator const char *() { return 0; }
};
int main( void )
{
B b;
const char *p = b;
}
Go to most recent revision | Compare with Previous | Blame | View Log