gcc/testsuite/gcc.c-torture/compile/961203-1.c
raw| 1 | /* The structure is too large for the xstormy16 - won't fit in 16 |
| 2 | bits. */ |
| 3 | /* { dg-do assemble } */ |
| 4 | /* { dg-skip-if "Array too big" { "pdp11-*-*" } { "-mint32" } } */ |
| 5 | |
| 6 | #if __INT_MAX__ >= 2147483647L |
| 7 | struct s { |
| 8 | char a[0x32100000]; |
| 9 | int x:30, y:30; |
| 10 | }; |
| 11 | |
| 12 | int |
| 13 | main () |
| 14 | { |
| 15 | struct s* p; |
| 16 | |
| 17 | p = (struct s*) 0; |
| 18 | if (p->x == p->y) |
| 19 | __builtin_exit (1); |
| 20 | } |
| 21 | #else |
| 22 | int g; |
| 23 | #endif |