1 // Note: this test is line- and column-sensitive. Test commands are at
12 @property float prop2;
13 @property short prop3;
17 @property double prop4;
21 @synthesize prop2 = _prop2;
38 // RUN: c-index-test -code-completion-at=%s:24:1 -Xclang -fobjc-nonfragile-abi %s | FileCheck -check-prefix=CHECK-CC1 %s
39 // CHECK-CC1: NotImplemented:{TypedText _Bool} (50)
40 // CHECK-CC1: ObjCIvarDecl:{ResultType float}{TypedText _prop2} (35)
41 // CHECK-CC1-NOT: prop2
42 // CHECK-CC1: ObjCPropertyDecl:{ResultType short}{TypedText prop3} (35)
43 // CHECK-CC1: ObjCPropertyDecl:{ResultType double}{TypedText prop4} (35)
45 // RUN: c-index-test -code-completion-at=%s:30:2 -Xclang -fobjc-nonfragile-abi %s | FileCheck -check-prefix=CHECK-CC2 %s
46 // CHECK-CC2: NotImplemented:{TypedText _Bool} (50)
47 // CHECK-CC2: ObjCIvarDecl:{ResultType float}{TypedText _prop2} (35)
48 // CHECK-CC2-NOT: prop3
49 // CHECK-CC2: ObjCPropertyDecl:{ResultType double}{TypedText prop4} (35)
51 // RUN: c-index-test -code-completion-at=%s:34:2 -Xclang -fobjc-nonfragile-abi %s | FileCheck -check-prefix=CHECK-CC3 %s
52 // CHECK-CC3: NotImplemented:{TypedText _Bool} (50)
53 // CHECK-CC3: ObjCIvarDecl:{ResultType float}{TypedText _prop2} (35)
54 // CHECK-CC3: ObjCPropertyDecl:{ResultType double}{TypedText prop4}
55 // CHECK-CC3-NOT: ObjCPropertyDecl:{ResultType double}{TypedText prop4} (35)
56 // CHECK-CC1: restrict