URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20080222-1.c] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
extern void abort (void); struct container { unsigned char data[1]; }; unsigned char space[6] = {1, 2, 3, 4, 5, 6}; int foo (struct container *p) { return p->data[4]; } int main () { if (foo ((struct container *) space) != 5) abort (); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log