blob: 3a53f2377fc445d7c7f6d471cf901a22019c4ef0 [file] [log] [blame]
Fariborz Jahanian9e0393d2012-02-04 19:06:06 +00001// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-fragile-abi %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