blob: 915a65dad77279d85545b77f3f24b12990c25f5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
global array
function func(i) {
array[i++] = 0;
return i;
}
function bart() { # rhbz# 300121
if (1) var=2 else dummy=0
return var
}
probe begin {
printf ("i=%d\n", func(0))
printf ("j=%d\n", bart())
exit ()
}
|