blob: 23bd4850310754ce785964eb14ca0dd14ca08bfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile } */
#include <objc/objc.h>
@interface MyRootClass
{
Class isa;
}
@property id name __attribute__((deprecated));
@property id table __attribute__((xxx)); /* { dg-warning ".xxx. attribute directive ignored" } */
@property void function (void); /* { dg-error "declared as a function" } */
@property typedef int j; /* { dg-error "expected" } */
@end
|