10 lines · c
1// Test code-completion in the presence of tabs2struct Point { int x, y; };3 4void f(struct Point *p) {5 p->6 7// RUN: c-index-test -code-completion-at=%s:5:5 %s | FileCheck -check-prefix=CHECK-CC1 %s8// CHECK-CC1: {TypedText x}9// CHECK-CC1: {TypedText y}10