clang/test/Rewriter/rewrite-category-property.mm
raw| 1 | // RUN: %clang_cc1 -x objective-c++ -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp |
| 2 | // RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s |
| 3 | |
| 4 | @class Y, Z; |
| 5 | |
| 6 | @interface A |
| 7 | @property (readonly) Y *y; |
| 8 | @end |
| 9 | |
| 10 | @interface A (cat) |
| 11 | @property (readonly) Z *z; |
| 12 | @end |
| 13 | |
| 14 | // CHECK-LP: // @property (readonly) Z *z; |