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=struct objc_object*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
5 void *sel_registerName(const char *);
6 void objc_enumerationMutation(id);
8 @protocol CoreDAVLeafDataPayload @end
12 @interface CoreDAVAction
24 for (id<CoreDAVLeafDataPayload> uuid in uuidsToAddActions) {
25 CoreDAVAction *action = 0;
26 id <CoreDAVLeafDataPayload> payload = [action context];