#! stap -p4

function msg1 (x) {
        log(x)
}
function msg2 (x,y) {
        log(x." ".y)
}

probe begin {
        msg1("55");
        msg1(sprint(55))

        msg2("100", "GOOD")
        msg2("GOOD", sprint(100))

# the next line caused a compile failure when uncommented; PR 1335
        msg2(sprint(100), "GOOD")

        exit()
}
