#! stap -p1

# multiple sort directives in foreach statement

global array

function decl()
{
    array[0] = 1    
    foreach (key- in array-)
        printf("key %d, value %d\n", key, array[key])
}
