OSDN Git Service

* gcc.dg/dfp/func-array.c: Support -DDBG to report individual failures.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / bitfld-7.c
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 "" } */
5
6 struct { int a:1; } x;
7
8 typeof (x.a) z; /* { dg-error "applied to a bit-field" "typeof" } */