gcc/testsuite/gcc.dg/torture/pr113895-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target int32plus } */ |
| 3 | |
| 4 | int main_i; |
| 5 | void transparent_crc(int); |
| 6 | #pragma pack(1) |
| 7 | struct { |
| 8 | signed : 17; |
| 9 | signed : 6; |
| 10 | unsigned : 13; |
| 11 | unsigned f6 : 12; |
| 12 | } g_20[1]; |
| 13 | int main() |
| 14 | { |
| 15 | transparent_crc(g_20[main_i].f6); |
| 16 | return 0; |
| 17 | } |