1 /* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, November 2010. */
2 /* { dg-do compile } */
4 /* Test that properties of type arrays or bitfields are rejected. */
8 #include <objc/runtime.h>
10 @interface MyRootClass
14 @property int a[8]; /* { dg-error "property can not be an array" } */
15 @property int b:8; /* { dg-error "expected" } */
16 @property int c[]; /* { dg-error "property can not be an array" } */
17 /* { dg-error "ISO C.. forbids zero-size array" "" { target *-*-* } 16 } */