URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000910-1.c] - Rev 297
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 (); }