Douglas Gregor | 54f0161 | 2009-11-19 00:01:57 +0000 | [diff] [blame] | 1 | // Note: the run lines follow their respective tests, since line/column |
| 2 | // matter in this test. |
| 3 | |
| 4 | @interface Foo { |
| 5 | void *isa; |
| 6 | } |
| 7 | @property(copy) Foo *myprop; |
| 8 | @property(retain, nonatomic) id xx; |
| 9 | // RUN: c-index-test -code-completion-at=%s:7:11 %s | FileCheck -check-prefix=CHECK-CC1 %s |
| 10 | // CHECK-CC1: {TypedText assign} |
Fariborz Jahanian | 27f4523 | 2011-06-11 17:14:27 +0000 | [diff] [blame] | 11 | // CHECK-CC1-NEXT: {TypedText atomic} |
Douglas Gregor | 54f0161 | 2009-11-19 00:01:57 +0000 | [diff] [blame] | 12 | // CHECK-CC1-NEXT: {TypedText copy} |
| 13 | // CHECK-CC1-NEXT: {TypedText getter}{Text = }{Placeholder method} |
| 14 | // CHECK-CC1-NEXT: {TypedText nonatomic} |
| 15 | // CHECK-CC1-NEXT: {TypedText readonly} |
| 16 | // CHECK-CC1-NEXT: {TypedText readwrite} |
| 17 | // CHECK-CC1-NEXT: {TypedText retain} |
| 18 | // CHECK-CC1-NEXT: {TypedText setter}{Text = }{Placeholder method} |
John McCall | f85e193 | 2011-06-15 23:02:42 +0000 | [diff] [blame^] | 19 | // CHECK-CC1-NEXT: {TypedText strong} |
| 20 | // CHECK-CC1-NEXT: {TypedText unsafe_unretained} |
Douglas Gregor | 54f0161 | 2009-11-19 00:01:57 +0000 | [diff] [blame] | 21 | // RUN: c-index-test -code-completion-at=%s:8:18 %s | FileCheck -check-prefix=CHECK-CC2 %s |
Douglas Gregor | 988358f | 2009-11-19 00:14:45 +0000 | [diff] [blame] | 22 | // CHECK-CC2: {TypedText getter}{Text = }{Placeholder method} |
Douglas Gregor | 54f0161 | 2009-11-19 00:01:57 +0000 | [diff] [blame] | 23 | // CHECK-CC2-NEXT: {TypedText nonatomic} |
Douglas Gregor | 54f0161 | 2009-11-19 00:01:57 +0000 | [diff] [blame] | 24 | // CHECK-CC2-NEXT: {TypedText readwrite} |
| 25 | // CHECK-CC2-NEXT: {TypedText setter}{Text = }{Placeholder method} |
| 26 | @end |