1 // Note: the run lines follow their respective tests, since line/column
2 // matter in this test.
9 @property id instanceProp;
11 @property (class) id classProp;
14 void test(Test *obj) {
19 // RUN: %clang_cc1 -fsyntax-only -code-completion-brief-comments -code-completion-at=%s:%(line-4):8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
20 // CHECK-CC1: instanceProp : [#id#]instanceProp : Instance!
21 // CHECK-CC1: setInstanceProp: : [#void#]setInstanceProp:<#(id)#> : Instance!
23 // RUN: %clang_cc1 -fsyntax-only -code-completion-brief-comments -code-completion-at=%s:%(line-7):9 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
24 // CHECK-CC2: classProp : [#id#]classProp : Class!
25 // CHECK-CC2: setClassProp: : [#void#]setClassProp:<#(id)#> : Class!