URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-selective/] [4.cc] - Rev 300
Go to most recent revision | Compare with Previous | Blame | View Log
struct A { virtual void foo(); virtual void bar(); }; void A::foo() { } // lose void A::bar() { } // keep struct B : public A { virtual void foo(); }; void B::foo() { } // lose void _start() __asm__("_start"); // keep void start() __asm__("start"); // some toolchains use this name. A a; // keep B b; A *getme() { return &a; } // keep void _start() { getme()->bar(); } void start () { _start (); } extern "C" void __main() { }
Go to most recent revision | Compare with Previous | Blame | View Log