summaryrefslogtreecommitdiff
path: root/test/union-extraarg.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/union-extraarg.myr')
-rw-r--r--test/union-extraarg.myr5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/union-extraarg.myr b/test/union-extraarg.myr
index f245b94..b34dc48 100644
--- a/test/union-extraarg.myr
+++ b/test/union-extraarg.myr
@@ -1,3 +1,8 @@
+/*
+should fail to compile becuse
+we're constructing a union that
+with too many arguments.
+*/
type u = union
`Foo
;;