[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / Rewriter / rewrite-modern-super.mm
blob2af6ec150f4157c431dac6e096f3a7eabb6a505e
1 // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp 
2 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"id=struct objc_object *" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
4 extern "C" void *sel_registerName(const char *);
6 typedef struct objc_class * Class;
8 @interface Sub
9 - (void)dealloc;
10 @end
12 @interface I : Sub
13 - (void)dealloc;
14 @end
16 @implementation I
17 - (void)dealloc {
18     return;
19     [super dealloc];
21 @end