1 | void foo() { |
---|---|
2 | int x; |
3 | if (x) { |
4 | } |
5 | |
6 | // RUN: c-index-test -cursor-at=%s:2:7 %s > %t |
7 | // RUN: FileCheck %s -input-file %t |
8 | |
9 | // CHECK: VarDecl=x:2:7 |
10 |
1 | void foo() { |
---|---|
2 | int x; |
3 | if (x) { |
4 | } |
5 | |
6 | // RUN: c-index-test -cursor-at=%s:2:7 %s > %t |
7 | // RUN: FileCheck %s -input-file %t |
8 | |
9 | // CHECK: VarDecl=x:2:7 |
10 |