| Argyrios Kyrtzidis | 8a4bfaa | 2011-08-10 21:12:04 +0000 | [diff] [blame] | 1 | // Test is line- and column-sensitive. Run lines are below. |
| 2 | |||||
| 3 | @interface rdar9771715 | ||||
| 4 | @property (readonly) int foo1; | ||||
| 5 | @property (readwrite) int foo2; | ||||
| 6 | @end | ||||
| 7 | |||||
| 8 | // RUN: c-index-test -cursor-at=%s:4:28 %s | FileCheck -check-prefix=CHECK-PROP1 %s | ||||
| 9 | // RUN: c-index-test -cursor-at=%s:5:28 %s | FileCheck -check-prefix=CHECK-PROP2 %s | ||||
| 10 | // CHECK-PROP1: ObjCPropertyDecl=foo1:4:26 | ||||
| 11 | // CHECK-PROP2: ObjCPropertyDecl=foo2:5:27 | ||||