1 // Note: the run lines follow their respective tests, since line/column
2 // matter in this test.
5 @property (readonly) int bar;
10 @property (nonatomic, readonly) int foo;
11 - (void)foobar: (int)x;
15 int getFoo(id object) {
16 id<Foo> modelObject = (id<Foo>)object;
17 int foo = modelObject.;
21 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:17:25 %s -o - | FileCheck %s
22 // CHECK: bar (InBase) : [#int#]bar
23 // CHECK: foo (InBase) : [#int#]foo