summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/optionM.ur3
-rw-r--r--tests/optionM.urp2
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/optionM.ur b/tests/optionM.ur
new file mode 100644
index 00000000..4af6a46c
--- /dev/null
+++ b/tests/optionM.ur
@@ -0,0 +1,3 @@
+fun main () : transaction page = return <xml>{[x <- Some 1;
+ y <- Some 2;
+ return (x + y)]}</xml>
diff --git a/tests/optionM.urp b/tests/optionM.urp
new file mode 100644
index 00000000..b043dfe0
--- /dev/null
+++ b/tests/optionM.urp
@@ -0,0 +1,2 @@
+$/option
+optionM