xref: /llvm-project/clang/test/Index/complete-tabs.c (revision 9134e737fc46406637b00cae5756538d440b1c88)
1*9134e737SDouglas Gregor // Test code-completion in the presence of tabs
2*9134e737SDouglas Gregor struct Point { int x, y; };
3*9134e737SDouglas Gregor 
f(struct Point * p)4*9134e737SDouglas Gregor void f(struct Point *p) {
5*9134e737SDouglas Gregor 	p->
6*9134e737SDouglas Gregor 
7*9134e737SDouglas Gregor // RUN: c-index-test -code-completion-at=%s:5:5 %s | FileCheck -check-prefix=CHECK-CC1 %s
8*9134e737SDouglas Gregor // CHECK-CC1: {TypedText x}
9*9134e737SDouglas Gregor // CHECK-CC1: {TypedText y}
10