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