blob: c3f154c8526a38c378808d6280c60ff3b4cfc756 [file] [log] [blame]
John McCall260611a2012-06-20 06:18:46 +00001// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp
Fariborz Jahanian2d8c1fd2010-10-16 00:29:27 +00002// RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -Did="void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
3// rdar:// 8558702
4
5@class NSString;
6@interface NSObject @end
7
8@protocol P
9@property (retain) NSString* test;
10@end
11
12
13@interface A : NSObject <P> {
14 NSString* _test;
15}
16@end
17
18
19@implementation A
20@synthesize test=_test;
21@end
22