URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [930630-1.c] - Rev 849
Go to most recent revision | Compare with Previous | Blame | View Log
/* The bit-field below would have a problem if __INT_MAX__ is too small. */ #if __INT_MAX__ < 2147483647 int main (void) { exit (0); } #else main () { struct { signed int bf0:17; signed int bf1:7; } bf; bf.bf1 = 7; f (bf.bf1); exit (0); } f (x) int x; { if (x != 7) abort (); } #endif
Go to most recent revision | Compare with Previous | Blame | View Log