home
/
code
/
tiger.ml.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9c4a7e0077662b04b8160015530e140c2e13a330
[tiger.ml.git]
/
compiler
/
testcases
/
test14.tig
1
/* error : compare rec with array */
2
3
let
4
5
type arrtype = array of int
6
type rectype = {name:string, id: int}
7
8
var rec := rectype {name="aname", id=0}
9
var arr := arrtype [3] of 0
10
11
in
12
if rec <> arr then 3 else 4
13
end
This page took
0.075863 seconds
and
5
git commands to generate.