summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/two.stp
blob: fdcf335e6ac6c59e8f7e05f5811787f3c82003ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! parsetest

probe syscall (231)
{
  array[idx] <<< value;
  if (global > 5) { global -- } else ;
}

function foo () {
  delete array[4];
  return 0;
}

probe end
{
  foo ("value", 4+8);
}