summaryrefslogtreecommitdiff
path: root/tests/aborter.ur
blob: 0921bdfcfb16d55e3403f6fe6077d267aaefc273 (plain)
1
2
3
4
5
table t : {A : int}

fun main () : transaction page =
    () <- dml (INSERT INTO t (A) VALUES (0));
    return (error <xml>No way, Jose!</xml>)