URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000910-1.c] - Rev 849
Go to most recent revision | Compare with Previous | Blame | View Log
/* Copyright (C) 2000 Free Software Foundation */ /* by Alexandre Oliva <aoliva@redhat.com> */ #include <stdlib.h> void bar (int); void foo (int *); int main () { static int a[] = { 0, 1, 2 }; int *i = &a[sizeof(a)/sizeof(*a)]; while (i-- > a) foo (i); exit (0); } void baz (int, int); void bar (int i) { baz (i, i); } void foo (int *i) { bar (*i); } void baz (int i, int j) { if (i != j) abort (); }
Go to most recent revision | Compare with Previous | Blame | View Log