summaryrefslogtreecommitdiff
path: root/tests/whiteout.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/whiteout.ur')
-rw-r--r--tests/whiteout.ur6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/whiteout.ur b/tests/whiteout.ur
new file mode 100644
index 00000000..5fb9d57b
--- /dev/null
+++ b/tests/whiteout.ur
@@ -0,0 +1,6 @@
+table t : { Chan : option (channel unit) }
+
+fun main () : transaction page =
+ ch <- channel;
+ dml (INSERT INTO t (Chan) VALUES ({[Some ch]}));
+ return <xml><body>Did it.</body></xml>