blob: b70b54fc53818462cb44592dddde26a277615990 [file] [log] [blame]
Fariborz Jahanian2d8c1fd2010-10-16 00:29:27 +00001// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
2// 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