• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 struct _MyS {
2   int foo;
3 } MyS;
4 
5 struct _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
15