1 // 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 -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
7 @class ISyncClient, SMSession, ISyncManager, ISyncSession, SMDataclassInfo, SMClientInfo,
8 DMCConfiguration, DMCStatusEntry;
14 @interface SMDataclassInfo : QQ
16 - (DMCStatusEntry*)Meth2;
19 @implementation SMDataclassInfo
20 - (XX*) Meth { return 0; }
21 - (DMCStatusEntry*)Meth2 { return 0; }
29 @property (copy) ISyncClient *p1;
38 @class Protocol, P , Q;
44 @interface ISDPropertyChangeGroup
47 @implementation ISDPropertyChangeGroup
48 @class ISDClientState;
49 - (id)lastModifiedGeneration : (ISDClientState *) obj