URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20040307-1.c] - Rev 297
Go to most recent revision | Compare with Previous | Blame | View Log
int main() { int b = 0; struct { unsigned int bit0:1; unsigned int bit1:1; unsigned int bit2:1; unsigned int bit3:1; unsigned int bit4:1; unsigned int bit5:1; unsigned int bit6:1; unsigned int bit7:1; } sdata = {0x01}; while ( sdata.bit0-- > 0 ) { b++ ; if ( b > 100 ) break; } if (b != 1) abort (); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log