/* Contributed by Nicola Pero , November 2010. */ /* { dg-do compile } */ /* Test that properties of type arrays or bitfields are rejected. */ #include #include #include @interface MyRootClass { Class isa; } @property int a[8]; /* { dg-error "property can not be an array" } */ @property int b:8; /* { dg-error "property can not be a bit-field" } */ @property int c[]; /* { dg-error "property can not be an array" } */ @end