In gcc/: 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git] / gcc / testsuite / objc.dg / property / at-property-2.m
blob23bd4850310754ce785964eb14ca0dd14ca08bfe
1 /* { dg-do compile } */
3 #include <objc/objc.h>
5 @interface MyRootClass
7   Class isa;
9 @property id name __attribute__((deprecated));
10 @property id table __attribute__((xxx));        /* { dg-warning ".xxx. attribute directive ignored" } */
11 @property void function (void);                 /* { dg-error "declared as a function" } */
12 @property typedef int j;                        /* { dg-error "expected" } */
13 @end