URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.warn/] [flow1.C] - Rev 305
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-Wreturn-type" }
// Test that we don't get a warning about flowing off the end.
struct A {
~A ();
};
int f()
{
A a1[2];
A a2[2];
return 1234567;
}
Go to most recent revision | Compare with Previous | Blame | View Log