summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/exportcycle.myr13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/exportcycle.myr b/test/exportcycle.myr
new file mode 100644
index 0000000..1eba61d
--- /dev/null
+++ b/test/exportcycle.myr
@@ -0,0 +1,13 @@
+use std
+/* This test checks that cyclic types will be output
+ * by muse. */
+pkg =
+ type list = struct
+ next : list#
+ val : int
+ ;;
+;;
+
+const main = {
+ -> 0
+}