Test every book test case
[tiger.ml.git] / compiler / testcases / test02.tig
diff --git a/compiler/testcases/test02.tig b/compiler/testcases/test02.tig
new file mode 100644 (file)
index 0000000..8ee0b96
--- /dev/null
@@ -0,0 +1,9 @@
+/* arr1 is valid since expression 0 is int = myint */
+let
+       type myint = int
+       type  arrtype = array of myint
+
+       var arr1:arrtype := arrtype [10] of 0
+in
+       arr1
+end
This page took 0.022868 seconds and 4 git commands to generate.