Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / bitfld-7.c
blob70004ffd8cba188577dc497504ab3681b39ea89f
1 /* Test for rejection of typeof on bit-fields. PR c/10333. */
2 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
3 /* { dg-do compile } */
4 /* { dg-options "" } */
6 struct { int a:1; } x;
8 typeof (x.a) z; /* { dg-error "applied to a bit-field" "typeof" } */