brintos

brintos / llvm-project-archived public Read only

0
0
Text · 482 B · 1618bae Raw
23 lines · plain
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.cpp3 4@interface Root @end5 6@interface Super : Root7@end8 9@interface Sub : Super10@end11 12@implementation Sub @end13 14@implementation Root @end15 16@interface Root(Cat) @end17 18@interface Sub(Cat) @end19 20@implementation Root(Cat) @end21 22@implementation Sub(Cat) @end23