1 // Note: the run lines follow their respective tests, since line/column
2 // matter in this test.
4 @interface TypeWithPropertiesBackedByIvars {
8 @property(nonatomic) int foo;
9 @property(nonatomic) int bar;
12 int getFoo(id object) {
13 TypeWithPropertiesBackedByIvars *model = (TypeWithPropertiesBackedByIvars *)object;
18 // RUN: %clang_cc1 -fsyntax-only -code-completion-with-fixits -code-completion-at=%s:%(line-4):19 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
19 // CHECK-CC1-NOT: [#int#]_bar
20 // CHECK-CC1-NOT: [#int#]_foo
21 // CHECK-CC1: [#int#]bar
22 // CHECK-CC1: [#int#]foo