Add a test case for code-completion in the presence of tabs

llvm-svn: 92882
This commit is contained in:
Douglas Gregor 2010-01-07 00:40:35 +00:00
parent 4debb32fdd
commit 9134e737fc
1 changed files with 9 additions and 0 deletions

View File

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