summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/two.stp
blob: b6b843de57a35ad989baf5d3a88ce4805cde8853 (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);
}