aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/codesearch/testdata/query-find-references-struct
blob: cfb266dc7bce724b8c6f90f31675afbee11e5ce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
find-references source0.c some_struct "" 1 10

some_struct has 2 references:

function func_accepting_a_struct uses it at source0.c:29
  29:	int func_accepting_a_struct(struct some_struct* p)
  30:	{


function func_accepting_a_struct uses it at source0.c:31
  30:	{
  31:		return ((some_struct_t*)p)->x +
  32:		       ((union some_union*)p)->x;