URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [warning8.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
struct A {
A();
~A();
};
struct B {
B (const A&);
~B ();
};
const B& f ()
{
A a;
return a; // { dg-warning "" } returning reference to temporary
}
Go to most recent revision | Compare with Previous | Blame | View Log