blob: 70b522cbabf1e41816f7b44a748cbe8a7381e0ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* { dg-do compile } */
#include <objc/objc.h>
@interface MyRootClass
{
Class isa;
}
@property volatile int a; /* This is allowed */
@property extern int b; /* { dg-error "expected" } */
@property static int c; /* { dg-error "expected" } */
@property inline int d; /* { dg-error "expected" } */
@property typedef int e; /* { dg-error "expected" } */
@property __thread int f; /* { dg-error "expected" } */
@end
|