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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92882 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Douglas Gregor 2010-01-07 00:40:35 +00:00
parent 2c48345cf9
commit d488d9cfef
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}