URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [crash55.C] - Rev 772
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// GROUPS passed old-abort
extern int f(int); // { dg-error "ambiguates" }
int& f(int x) // { dg-error "new declaration" }
{
int local; // { dg-warning "reference to local" }
local = x+2;
return local;
}
Go to most recent revision | Compare with Previous | Blame | View Log