xref: /minix3/external/bsd/llvm/dist/clang/test/SemaObjC/property-nonfragile-abi.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1// RUN: %clang_cc1 -fsyntax-only -verify %s
2// expected-no-diagnostics
3
4typedef signed char BOOL;
5
6@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
7
8@protocol NSObject
9- (BOOL)isEqual:(id)object;
10@end
11
12@interface NSObject <NSObject> {}
13@end
14
15@interface XCDeviceWillExecuteInfoBaton : NSObject {}
16  @property (retain) __attribute__((objc_gc(strong))) NSString *sdkPath;
17@end
18
19@implementation XCDeviceWillExecuteInfoBaton
20  @synthesize sdkPath;
21@end
22
23