llvm-for-llvmta/tools/clang/test/SemaObjC/property-nonfragile-abi.m

23 lines
474 B
Mathematica
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
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
@synthesize sdkPath;
@end