diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-07 00:40:35 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-07 00:40:35 +0000 |
commit | d488d9cfefc06373fc0f18ec334a5caa8d73e5c9 (patch) | |
tree | f45d80fbc6260107590e0db22307590214d91d0b | |
parent | 2c48345cf9d4cfe5fe73a37de684825f6015518b (diff) |
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
-rw-r--r-- | test/Index/complete-tabs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Index/complete-tabs.c b/test/Index/complete-tabs.c new file mode 100644 index 0000000000..f3313bfbb8 --- /dev/null +++ b/test/Index/complete-tabs.c @@ -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} |