summaryrefslogtreecommitdiff
path: root/clang/test/Rewriter/rewrite-category-property.mm
blob: b54bb67063f5e5ef2c4fc0494a936dbc0289b32a (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang_cc1 -x objective-c++ -fms-extensions -rewrite-objc -fobjc-fragile-abi %s -o %t-rw.cpp
// RUN: FileCheck -check-prefix LP --input-file=%t-rw.cpp %s
// radar 7630636

@class Y, Z;

@interface A
@property (readonly) Y *y;
@end

@interface A (cat)
@property (readonly) Z *z;
@end

// CHECK-LP: // @property (readonly) Z *z;