* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / obj-c++.dg / property / at-property-3.mm
blobadf4dd0366bf0cf671b97c30dd4030d9b5cedb03
1 /* { dg-do compile } */
3 #include <objc/objc.h>
5 @interface MyRootClass
7   Class isa;
9 @property volatile int a;  /* This is allowed */
10 @property extern int b;    /* { dg-error "invalid type" } */
11 @property static int c;    /* { dg-error "invalid type" } */
12 @property inline int d;    /* { dg-error "declared as an .inline." } */
13 @property typedef int e;   /* { dg-error "invalid type" } */
14 @property __thread int f;  /* { dg-error "invalid type" } */
15 @end