summaryrefslogtreecommitdiff
path: root/test/union-missingarg.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-missingarg.myr
parent440ff74a6d16e3edb5322976ae5c9446f315c754 (diff)
downloadmc-ed3f53a7de0be0705fb0637e94e731808e7cd09c.tar.gz
Add a number of tests.
Diffstat (limited to 'test/union-missingarg.myr')
-rw-r--r--test/union-missingarg.myr7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/union-missingarg.myr b/test/union-missingarg.myr
new file mode 100644
index 0000000..c19f36e
--- /dev/null
+++ b/test/union-missingarg.myr
@@ -0,0 +1,7 @@
+type u = union
+ `Foo int
+;;
+
+const main = {
+ `Foo
+}