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
7 @interface Super : Root
10 @interface Sub : Super
13 @implementation Sub @end
15 @implementation Root @end
17 @interface Root(Cat) @end
19 @interface Sub(Cat) @end
21 @implementation Root(Cat) @end
23 @implementation Sub(Cat) @end