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 | // radar 7630636 |
4 | |
5 | @class Y, Z; |
6 | |
7 | @interface A |
8 | @property (readonly) Y *y; |
9 | @end |
10 | |
11 | @interface A (cat) |
12 | @property (readonly) Z *z; |
13 | @end |
14 | |
15 | // CHECK-LP: // @property (readonly) Z *z; |
16 |