]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/bitfld-14.c
1 /* Test for non-integer bit-field widths. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do compile } */
4 /* { dg-options "" } */
8 int a
: (void *)4; /* { dg-error "bit-field 'a' width not an integer constant" } */