summaryrefslogtreecommitdiff
path: root/tests
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
parentcd8701d5e602f64cf05c0e34841431d7bbe8e671 (diff)
Expunging nullable fields
Diffstat (limited to 'tests')
-rw-r--r--tests/whiteout.ur6
-rw-r--r--tests/whiteout.urp6
2 files changed, 12 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>
diff --git a/tests/whiteout.urp b/tests/whiteout.urp
new file mode 100644
index 00000000..a8c3d0af
--- /dev/null
+++ b/tests/whiteout.urp
@@ -0,0 +1,6 @@
+debug
+database dbname=whiteout
+sql whiteout.sql
+timeout 5
+
+whiteout