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
/
test22.tig
diff --git a/compiler/testcases/test22.tig
b/compiler/testcases/test22.tig
new file mode 100644
(file)
index 0000000..
b6f2ef3
--- /dev/null
+++ b/
compiler/testcases/test22.tig
@@ -0,0
+1,8
@@
+/* error : field not in record type */
+
+let
+ type rectype = {name:string , id:int}
+ var rec1 := rectype {name="Name", id=0}
+in
+ rec1.nam := "asd"
+end
This page took
0.038776 seconds
and
4
git commands to generate.