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/] [virtual6.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-Woverloaded-virtual" }
// Bug: g++ checks certain non-virtual functions to see if they override
// virtual functions.
// Submitted by Jason Merrill <jason@cygnus.com>
struct A {
virtual void f (int);
};
struct B: public A {
static void f ();
void f (int);
};
Go to most recent revision | Compare with Previous | Blame | View Log