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

9 lines
142 B
Text
Raw Normal View History

/* 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