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