summaryrefslogtreecommitdiff
path: root/tests/naughty.ur
blob: 14919f84ecad4364648ea194c7e8506edfe347b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
fun main () : transaction page =
    if naughtyDebug "hello" = 0 then
        return <xml><body></body></xml>
    else
        error <xml>Uhoh!</xml>

(*fun main () : transaction page =
    let
        val a = naughtyDebug ""
    in
        return <xml><body></body></xml>
    end*)