summaryrefslogtreecommitdiff
path: root/clang/test/Rewriter/rewrite-implementation.mm
blob: 2cc3387b32bb92f930a337de2583575f1399da30 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-fragile-abi %s -o %t-rw.cpp
// RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
// radar 7649577

@interface a
@end

@interface b : a
@end

@implementation b
@end

@interface NSArray @end
@class NSArray;
@implementation NSArray @end