Test every book test case
[tiger.ml.git] / compiler / testcases / test49.tig
diff --git a/compiler/testcases/test49.tig b/compiler/testcases/test49.tig
new file mode 100644 (file)
index 0000000..3aa9e3f
--- /dev/null
@@ -0,0 +1,8 @@
+/* error: syntax error, nil should not be preceded by type-id.  */
+let 
+       type rectype = {name:string, id:int}
+
+       var a:= rectype nil
+in
+       a
+end
This page took 0.022493 seconds and 4 git commands to generate.