summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/nineteen.stp
blob: be12b6f736705b28243c2316d6a4f914d2a05abc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! stap -p4

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

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

        msg2("100", "GOOD")
        msg2("GOOD", string(100))

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

        exit()
}