URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000622-1.c] - Rev 711
Go to most recent revision | Compare with Previous | Blame | View Log
long foo(long a, long b, long c) { if (a != 12 || b != 1 || c != 11) abort(); return 0; } long bar (long a, long b) { return b; } void baz (long a, long b, void *c) { long d; d = (long)c; foo(d, bar (a, 1), b); } int main() { baz (10, 11, (void *)12); exit(0); }
Go to most recent revision | Compare with Previous | Blame | View Log