summaryrefslogtreecommitdiff
path: root/tests/whiteout.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-03-29 14:13:50 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-03-29 14:13:50 -0400
commit30dec16fdfb5230a0da6fc1a9d5861e60eb7133e (patch)
tree1b2655ca5cafb564b522b9d0ac9b9ec15b5d6aec /tests/whiteout.ur
parentcd8701d5e602f64cf05c0e34841431d7bbe8e671 (diff)
Expunging nullable fields
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>