aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/topLevelPattern.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2017-08-11 19:38:43 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2017-08-11 19:38:43 -0400
commit4b7939d2fef1d8ef02ff761ade62cc220ab248cf (patch)
treee9a3811f6a763bd81522fff4a8d3c4631c4a34e7 /tests/topLevelPattern.ur
parent9fdb50d8ecc7782ae73472b9d943a24a304d0191 (diff)
parentf814fd699dc707e810c996062370ee787863d926 (diff)
Merge branch 'master' of ssh://hnf.impredicative.com:/home/adamc/git-root/urweb
Diffstat (limited to 'tests/topLevelPattern.ur')
-rw-r--r--tests/topLevelPattern.ur5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/topLevelPattern.ur b/tests/topLevelPattern.ur
new file mode 100644
index 00000000..e272c30c
--- /dev/null
+++ b/tests/topLevelPattern.ur
@@ -0,0 +1,5 @@
+val (x, y) = (1, 2)
+
+fun main () : transaction page = return <xml>
+ {[x]} + {[y]} = {[x + y]}
+</xml>