blob: cd3696f11c7d74c3514e2d5e9e00767d883e7107 [file] [log] [blame]
Douglas Gregor54f01612009-11-19 00:01:57 +00001// 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}
11// CHECK-CC1-NEXT: {TypedText copy}
12// CHECK-CC1-NEXT: {TypedText getter}{Text = }{Placeholder method}
13// CHECK-CC1-NEXT: {TypedText nonatomic}
14// CHECK-CC1-NEXT: {TypedText readonly}
15// CHECK-CC1-NEXT: {TypedText readwrite}
16// CHECK-CC1-NEXT: {TypedText retain}
17// CHECK-CC1-NEXT: {TypedText setter}{Text = }{Placeholder method}
18// RUN: c-index-test -code-completion-at=%s:8:18 %s | FileCheck -check-prefix=CHECK-CC2 %s
Douglas Gregor988358f2009-11-19 00:14:45 +000019// CHECK-CC2: {TypedText getter}{Text = }{Placeholder method}
Douglas Gregor54f01612009-11-19 00:01:57 +000020// CHECK-CC2-NEXT: {TypedText nonatomic}
Douglas Gregor54f01612009-11-19 00:01:57 +000021// CHECK-CC2-NEXT: {TypedText readwrite}
22// CHECK-CC2-NEXT: {TypedText setter}{Text = }{Placeholder method}
23@end