summaryrefslogtreecommitdiff
path: root/tests/aborter2.ur
blob: a7270ba18a7c6776bb206090e742967ec8415c84 (plain)
1
2
3
4
5
6
7
table t : { X : int }

fun main () : transaction page =
    v <- query (SELECT * FROM t)
         (fn r (_ : int) => return (error <xml>Shot down!</xml>))
         0;
    return <xml>Result: {[v]}</xml>