diff options
Diffstat (limited to 'test/Sema/bitfield.c')
-rw-r--r-- | test/Sema/bitfield.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Sema/bitfield.c b/test/Sema/bitfield.c index fb72213..f214b67 100644 --- a/test/Sema/bitfield.c +++ b/test/Sema/bitfield.c @@ -74,3 +74,7 @@ typedef __typeof__(+(--t5.n)) Signed; // This should not promote to signed. typedef __typeof__(+(t5.n++)) Unsigned; // Post-increment is underspecified, but seems to typedef __typeof__(+(t5.n--)) Unsigned; // also act like compound-assignment. + +struct Test6 { + : 0.0; // expected-error{{type name requires a specifier or qualifier}} +}; |