Home | History | Annotate | Download | only in Index
      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}
     11 // CHECK-CC1-NEXT: {TypedText atomic}
     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}
     19 // CHECK-CC1-NEXT: {TypedText strong}
     20 // CHECK-CC1-NEXT: {TypedText unsafe_unretained}
     21 // RUN: c-index-test -code-completion-at=%s:8:18 %s | FileCheck -check-prefix=CHECK-CC2 %s
     22 // CHECK-CC2: {TypedText getter}{Text  = }{Placeholder method}
     23 // CHECK-CC2-NEXT: {TypedText nonatomic}
     24 // CHECK-CC2-NEXT: {TypedText readwrite}
     25 // CHECK-CC2-NEXT: {TypedText setter}{Text  = }{Placeholder method}
     26 @end
     27