diff options
Diffstat (limited to 'tests/aborter2.ur')
-rw-r--r-- | tests/aborter2.ur | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/aborter2.ur b/tests/aborter2.ur new file mode 100644 index 00000000..a7270ba1 --- /dev/null +++ b/tests/aborter2.ur @@ -0,0 +1,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> |