summaryrefslogtreecommitdiffstats
path: root/test/Rewriter/rewrite-category-property.mm
blob: 50ef4326e4e988404a3e4086e318c33d7b726521 (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-runtime=macosx-fragile-10.5 %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;
OpenPOWER on IntegriCloud