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 -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp 3 // radar 7946975 4 5 @interface RootObject { 6 } 7 @end void doStuff(); 8 int main(int argc, char *argv[]) { 9 return 0; 10 } 11