diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2012-08-15 20:02:54 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2012-08-15 20:02:54 +0000 |
| commit | 56d91b49b13fe55c918afbda19f6165b5fbff87a (patch) | |
| tree | 9abb1a658a297776086f4e0dfa6ca533de02104e /test/Index/get-cursor.c | |
| parent | 41e20f564abdb05101d6b2b29c59459a966c22cc (diff) | |
Notes
Diffstat (limited to 'test/Index/get-cursor.c')
| -rw-r--r-- | test/Index/get-cursor.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Index/get-cursor.c b/test/Index/get-cursor.c index 23a4b5cb5370..c0614af5dd34 100644 --- a/test/Index/get-cursor.c +++ b/test/Index/get-cursor.c @@ -4,11 +4,17 @@ struct _MyS { struct _MyS ww; +int x, y; + // RUN: c-index-test -cursor-at=%s:1:9 \ // RUN: -cursor-at=%s:2:9 \ // RUN: -cursor-at=%s:5:9 \ +// RUN: -cursor-at=%s:7:5 \ +// RUN: -cursor-at=%s:7:8 \ // RUN: %s | FileCheck %s // CHECK: StructDecl=_MyS:1:8 (Definition) // CHECK: FieldDecl=foo:2:7 (Definition) // CHECK: TypeRef=struct _MyS:1:8 +// CHECK: VarDecl=x:7:5 +// CHECK: VarDecl=y:7:8 |
