summaryrefslogtreecommitdiff
path: root/test/union-extraarg.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-06-28 01:04:21 -0400
committerOri Bernstein <ori@eigenstate.org>2012-06-28 01:04:21 -0400
commited3f53a7de0be0705fb0637e94e731808e7cd09c (patch)
tree465e8b062885c7b62c0de52f2e442d23b3773680 /test/union-extraarg.myr
parent440ff74a6d16e3edb5322976ae5c9446f315c754 (diff)
downloadmc-ed3f53a7de0be0705fb0637e94e731808e7cd09c.tar.gz
Add a number of tests.
Diffstat (limited to 'test/union-extraarg.myr')
-rw-r--r--test/union-extraarg.myr7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/union-extraarg.myr b/test/union-extraarg.myr
new file mode 100644
index 0000000..f245b94
--- /dev/null
+++ b/test/union-extraarg.myr
@@ -0,0 +1,7 @@
+type u = union
+ `Foo
+;;
+
+const main = {
+ `Foo 123
+}