modern-compiler-ml/tiger/testcases/test45.tig

9 lines
140 B
Text
Raw Normal View History

/* error: initializing nil expressions not constrained by record type */
let
type rectype = {name:string, id:int}
var a:= nil
in
a
end