view tests/aborter.ur @ 2028:485570cb3b6e

Return to working version mode
author Adam Chlipala <adam@chlipala.net>
date Sun, 15 Jun 2014 09:27:41 -0400
parents b10132434adc
children
line wrap: on
line source
table t : {A : int}

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