blob: 23a4b5cb537088c0bf924aaab852a92f724ecf3a [file] [log] [blame]
Argyrios Kyrtzidis6f155de2011-08-25 22:24:47 +00001struct _MyS {
2 int foo;
3} MyS;
4
5struct _MyS ww;
6
7// RUN: c-index-test -cursor-at=%s:1:9 \
8// RUN: -cursor-at=%s:2:9 \
9// RUN: -cursor-at=%s:5:9 \
10// RUN: %s | FileCheck %s
11
12// CHECK: StructDecl=_MyS:1:8 (Definition)
13// CHECK: FieldDecl=foo:2:7 (Definition)
14// CHECK: TypeRef=struct _MyS:1:8