blob: 28ad942b59c91215be5487a41cf8c40ab68d7a03 [file] [log] [blame]
Eli Friedmancdf00292009-03-04 06:00:10 +00001// RUN: clang -fsyntax-only -triple x86_64-apple-darwin9 -verify %s
Steve Narofff4c00ff2009-03-03 22:09:41 +00002
3typedef signed char BOOL;
4
5@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
6
7@protocol NSObject
8- (BOOL)isEqual:(id)object;
9@end
10
11@interface NSObject <NSObject> {}
12@end
13
14@interface XCDeviceWillExecuteInfoBaton : NSObject {}
15 @property (retain) __attribute__((objc_gc(strong))) NSString *sdkPath;
16@end
17
18@implementation XCDeviceWillExecuteInfoBaton
Steve Narofffbffca62009-03-05 15:45:01 +000019 // Produce an error when compiling for -arch x86_64 (or "non-fragile" ABI)
20 @synthesize sdkPath; // expected-error{{instance variable synthesis not yet supported (need to declare 'sdkPath' explicitly)}}
Steve Narofff4c00ff2009-03-03 22:09:41 +000021@end
22