xref: /minix3/external/bsd/llvm/dist/clang/test/Index/complete-tabs.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // Test code-completion in the presence of tabs
2 struct Point { int x, y; };
3 
f(struct Point * p)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