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++.dg/] [abi/] [mangle31.C] - Rev 307
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/39095
// { dg-do compile }
struct B
{
int b;
};
struct A
{
B *operator->();
A ();
B b;
};
A::A ()
{
}
B *
A::operator->()
{
return &b;
}
A a;
int
foo ()
{
return a->b;
}
// { dg-final { scan-assembler "_ZN1AptEv" } }
// { dg-final { scan-assembler-not "_ZN1AdtEv" } }
Go to most recent revision | Compare with Previous | Blame | View Log