2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2009-01-18 07:21:10 +08:00
|
|
|
|
|
|
|
@interface MyClass {
|
|
|
|
|
|
|
|
};
|
|
|
|
@property unsigned char bufferedUTF8Bytes[4]; // expected-error {{property cannot have array or function type}}
|
|
|
|
@property unsigned char bufferedUTFBytes:1; // expected-error {{property name cannot be a bitfield}}
|
2010-02-16 06:20:11 +08:00
|
|
|
@property(nonatomic, retain, setter=ab_setDefaultToolbarItems) MyClass *ab_defaultToolbarItems; // expected-error {{method name referenced in property setter attribute must end with ':'}}
|
2009-01-18 07:21:10 +08:00
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation MyClass
|
2010-02-16 06:20:11 +08:00
|
|
|
@dynamic ab_defaultToolbarItems;
|
2009-01-18 07:21:10 +08:00
|
|
|
@end
|
|
|
|
|