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++.old-deja/] [g++.mike/] [eh52.C] - Rev 377
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
// { dg-options "-fexceptions -O9" }
int promote_mode (int mode, int *punsignedp)
{
int unsignedp = *punsignedp;
*punsignedp = unsignedp;
return mode;
}
int main() {
int i;
i = promote_mode (42, &i);
return i != 42;
}
Go to most recent revision | Compare with Previous | Blame | View Log