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