Test every book test case
[tiger.ml.git] / compiler / testcases / test39.tig
diff --git a/compiler/testcases/test39.tig b/compiler/testcases/test39.tig
new file mode 100644 (file)
index 0000000..3cccaa9
--- /dev/null
@@ -0,0 +1,9 @@
+/* This is illegal, since there are two functions with the same name
+    in the same (consecutive) batch of mutually recursive functions.
+   See also test48 */
+let
+       function g(a:int):int = a
+       function g(a:int):int = a
+in
+       0
+end
This page took 0.033178 seconds and 4 git commands to generate.