complete-tabs.c 255 B

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