2009-03-24 10:24:46 +08:00
|
|
|
// RUN: clang-cc -fsyntax-only -triple x86_64-apple-darwin9 -verify %s
|
2009-03-04 06:09:41 +08:00
|
|
|
|
|
|
|
typedef signed char BOOL;
|
|
|
|
|
|
|
|
@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
|
|
|
|
|
|
|
|
@protocol NSObject
|
|
|
|
- (BOOL)isEqual:(id)object;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface NSObject <NSObject> {}
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface XCDeviceWillExecuteInfoBaton : NSObject {}
|
|
|
|
@property (retain) __attribute__((objc_gc(strong))) NSString *sdkPath;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation XCDeviceWillExecuteInfoBaton
|
2009-03-05 23:45:01 +08:00
|
|
|
// Produce an error when compiling for -arch x86_64 (or "non-fragile" ABI)
|
|
|
|
@synthesize sdkPath; // expected-error{{instance variable synthesis not yet supported (need to declare 'sdkPath' explicitly)}}
|
2009-03-04 06:09:41 +08:00
|
|
|
@end
|
|
|
|
|