1 // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
2 // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
6 @interface Super : Root
12 @implementation Sub @end
14 @implementation Root @end
16 @interface Root(Cat) @end
18 @interface Sub(Cat) @end
20 @implementation Root(Cat) @end
22 @implementation Sub(Cat) @end