home
/
code
/
tiger.ml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
compiler/testcases/test49.tig
@@ -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.