blob: f2e08c36607c5658b63742d3b6770f2a16e4ad3a [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}
Fariborz Jahanian27f45232011-06-11 17:14:27 +000011// CHECK-CC1-NEXT: {TypedText atomic}
Douglas Gregor54f01612009-11-19 00:01:57 +000012// 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 McCallf85e1932011-06-15 23:02:42 +000019// CHECK-CC1-NEXT: {TypedText strong}
20// CHECK-CC1-NEXT: {TypedText unsafe_unretained}
Douglas Gregor54f01612009-11-19 00:01:57 +000021// RUN: c-index-test -code-completion-at=%s:8:18 %s | FileCheck -check-prefix=CHECK-CC2 %s
Douglas Gregor988358f2009-11-19 00:14:45 +000022// CHECK-CC2: {TypedText getter}{Text = }{Placeholder method}
Douglas Gregor54f01612009-11-19 00:01:57 +000023// CHECK-CC2-NEXT: {TypedText nonatomic}
Douglas Gregor54f01612009-11-19 00:01:57 +000024// CHECK-CC2-NEXT: {TypedText readwrite}
25// CHECK-CC2-NEXT: {TypedText setter}{Text = }{Placeholder method}
26@end