modern-compiler-ml/tiger/testcases/test47.tig
jmug 33d8bac511 Add the tiger source code bundle from the book site
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2024-12-18 15:18:45 -08:00

11 lines
275 B
Text

/* This is legal. The second type "a" simply hides the first one.
Because of the intervening variable declaration, the two "a" types
are not in the same batch of mutually recursive types.
See also test38 */
let
type a = int
var b := 4
type a = string
in
0
end