URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20041218-2.c] - Rev 688
Compare with Previous | Blame | View Log
extern void abort (void); int test(int n) { struct s { char b[n]; } __attribute__((packed)); n++; return sizeof(struct s); } int main() { if (test(123) != 123) abort (); return 0; }