brintos

brintos / llvm-project-archived public Read only

0
0
Text · 483 B · e5559f7 Raw
22 lines · plain
1// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp2// RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -Did="void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp3 4@class NSString;5@interface NSObject @end6 7@protocol P8@property (retain) NSString* test;9@end10 11 12@interface A : NSObject <P> {13	NSString* _test;14}15@end16 17 18@implementation A19@synthesize test=_test;20@end21 22