☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
testsuite
/
parseko
/
foreachstmt07.stp
☽
☼
testsuite/parseko/foreachstmt07.stp
code
plain
raw
1
#! stap -p1
2
3
# missing limit keyword but with an expression
4
5
global array
6
7
function decl()
8
{
9
array[0] = 1
10
foreach (key in array 5)
11
printf("key %d, value %d\n", key, array[key])
12
}