URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ext/] [namedret1.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-Wno-deprecated" }
int f(int x) return y(x) { } // { dg-error "" }
extern "C" void abort ();
int main()
{
if (f(1) != 1 || f(2) != 2 || f(3) != 3)
abort ();
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log