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++.mike/] [eh52.C] - Rev 841
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