summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-10-21 10:34:07 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-10-21 10:34:07 -0400
commit29a7ea8ff27061917f6e5352f9d1eb8ccad7c680 (patch)
tree3d036341a8a7ed2f181f8f773b7df9e97ae2eda8 /tests
parentcbebf68dfc1e18c0477d20ea3b424ea2c97c8728 (diff)
num working for int
Diffstat (limited to 'tests')
-rw-r--r--tests/num.ur3
-rw-r--r--tests/num.urp3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/num.ur b/tests/num.ur
new file mode 100644
index 00000000..6dab5ac3
--- /dev/null
+++ b/tests/num.ur
@@ -0,0 +1,3 @@
+fun main () : transaction page = return <xml><body>
+ {txt _ (-1)}, {txt _ (1 + 1)}, {txt _ (9 - 3)}, {txt _ (9 * 3)}, {txt _ (9 / 3)}, {txt _ (9 % 3)}
+</body></xml>
diff --git a/tests/num.urp b/tests/num.urp
new file mode 100644
index 00000000..50b5ed87
--- /dev/null
+++ b/tests/num.urp
@@ -0,0 +1,3 @@
+debug
+
+num