Test every book test case
[tiger.ml.git] / compiler / testcases / test40.tig
diff --git a/compiler/testcases/test40.tig b/compiler/testcases/test40.tig
new file mode 100644 (file)
index 0000000..f54bc02
--- /dev/null
@@ -0,0 +1,7 @@
+/* error : procedure returns value */
+let
+       function g(a:int) = a
+in 
+       g(2)
+end
+
This page took 0.025221 seconds and 4 git commands to generate.