URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20001031-1.c] - Rev 826
Compare with Previous | Blame | View Log
extern void abort (void); extern void exit (int); void t1 (int x) { if (x != 4100) abort (); } int t2 (void) { int i; t1 ((i = 4096) + 4); return i; } void t3 (long long x) { if (x != 0x80000fffULL) abort (); } long long t4 (void) { long long i; t3 ((i = 4096) + 0x7fffffffULL); return i; } main () { if (t2 () != 4096) abort (); if (t4 () != 4096) abort (); exit (0); }