mirror of https://github.com/microsoft/clang.git
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:
parent
2c48345cf9
commit
d488d9cfef
|
@ -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}
|
Loading…
Reference in New Issue