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/] [20080222-1.c] - Rev 298
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