Merge from mainline.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr14475.c
blob8009d46565736687ab2e5ba457b3023354789414
1 /* This used to ICE because there was no null check in
2 check_bitfield_type_and_width. */
4 struct tree_common
6 enum tree_code code : 8; /* {dg-error "" "" } */
7 /* { dg-warning "" "" { target *-*-* } 6 } */
8 };