summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/uprobe_stmt_num.c
blob: 887e572a3f38429d61cdaea3bbf65a90b481ed36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
static int
func2 (int x, int y)
{
  return x + y;
}

static int
func (int arg)
{
  int x = 16;
  int y = arg - x;
  int z = func2(x, y);
  return x + y + z;
}

int
main (int argc, char *argv[], char *envp[])
{
  return func(42);
}