clang/test/Rewriter/rewrite-implementation.mm
raw| 1 | // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp |
| 2 | // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp |
| 3 | |
| 4 | @interface a |
| 5 | @end |
| 6 | |
| 7 | @interface b : a |
| 8 | @end |
| 9 | |
| 10 | @implementation b |
| 11 | @end |
| 12 | |
| 13 | @interface NSArray @end |
| 14 | @class NSArray; |
| 15 | @implementation NSArray @end |