1 // RUN: %clang_cc1 -x objective-c++ -fms-extensions -rewrite-objc %s -o %t-rw.cpp 2 // RUN: %clang_cc1 -fsyntax-only -Wno-attributes -D"__declspec(X)=" %t-rw.cpp 3 // rdar://11169733 4 5 extern "C" __declspec(dllexport) 6 @interface Test @end 7 8 @implementation Test @end 9 10 extern "C" { 11 __declspec(dllexport) 12 @interface Test1 @end 13 14 @implementation Test1 @end 15 16 __declspec(dllexport) 17 @interface Test2 @end 18 19 @implementation Test2 @end 20 }; 21 22