/* APPLE LOCAL file 4649718, 4651088 */ | |
/* Test for bogus property declarations. */ | |
/* APPLE LOCAL radar 4899595 */ | |
/* { dg-options "-fno-objc-new-property -mmacosx-version-min=10.5" } */ | |
/* { dg-do compile } */ | |
@interface MyClass { | |
}; | |
@property (ivar) unsigned char bufferedUTF8Bytes[4]; /* { dg-error "bad property declaration" } */ | |
@property (ivar) unsigned char bufferedUTFBytes:1; /* { dg-error "bad property declaration" } */ | |
@end | |
@implementation MyClass | |
@end | |