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.cpp
2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
6 @class ISyncClient, SMSession, ISyncManager, ISyncSession, SMDataclassInfo, SMClientInfo,
7 DMCConfiguration, DMCStatusEntry;
13 @interface SMDataclassInfo : QQ
15 - (DMCStatusEntry*)Meth2;
18 @implementation SMDataclassInfo
19 - (XX*) Meth { return 0; }
20 - (DMCStatusEntry*)Meth2 { return 0; }
28 @property (copy) ISyncClient *p1;