URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000622-1.c] - Rev 816
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); }