| // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp |
| // 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 |
| @class ISyncClient, SMSession, ISyncManager, ISyncSession, SMDataclassInfo, SMClientInfo, |
| DMCConfiguration, DMCStatusEntry; |
| @interface SMDataclassInfo : QQ |
| - (DMCStatusEntry*)Meth2; |
| @implementation SMDataclassInfo |
| - (XX*) Meth { return 0; } |
| - (DMCStatusEntry*)Meth2 { return 0; } |
| @property (copy) ISyncClient *p1; |
| @interface ISDPropertyChangeGroup |
| @implementation ISDPropertyChangeGroup |
| - (id)lastModifiedGeneration : (ISDClientState *) obj |