summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-01-12 10:33:03 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-01-12 10:33:03 -0500
commitb7b292f806c4e26b23ede86c5ee3167f62148867 (patch)
tree58441754054742bc8de615c687ffed7e67b3e827 /tests
parent15fb118afdb3b8ac0eb0cb8cdf7e06172988a590 (diff)
Supporting any number of arguments for explicitly exported functions
Diffstat (limited to 'tests')
-rw-r--r--tests/twoArg.ur3
-rw-r--r--tests/twoArg.urp3
-rw-r--r--tests/twoArg.urs3
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/twoArg.ur b/tests/twoArg.ur
new file mode 100644
index 00000000..bc2c81d2
--- /dev/null
+++ b/tests/twoArg.ur
@@ -0,0 +1,3 @@
+fun main n s = return <xml>{[n]}, {[s]}</xml>
+
+val shadow = return <xml>You found me!</xml>
diff --git a/tests/twoArg.urp b/tests/twoArg.urp
new file mode 100644
index 00000000..88fb254f
--- /dev/null
+++ b/tests/twoArg.urp
@@ -0,0 +1,3 @@
+debug
+
+twoArg
diff --git a/tests/twoArg.urs b/tests/twoArg.urs
new file mode 100644
index 00000000..9eb22bec
--- /dev/null
+++ b/tests/twoArg.urs
@@ -0,0 +1,3 @@
+val main : int -> string -> transaction page
+
+val shadow : transaction page