URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [abi/] [thunk3.C] - Rev 826
Compare with Previous | Blame | View Log
// { dg-require-weak "" }
// { dg-final { scan-assembler-not ".weak\[\t \]_?_ZThn._N7Derived3FooEv" { target { ! { *-*-darwin* } } } } }
// { dg-final { scan-assembler-not ".weak_definition\[\t \]_?_ZThn._N7Derived3FooEv" { target { *-*-darwin* } } } }
struct Base
{
virtual void Foo ();
};
struct Filler
{
virtual void Baz ();
};
struct Derived : Filler, Base
{
virtual void Foo ();
};
void Derived::Foo ()
{
}