modern-compiler-ml/tiger/testcases/test48.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
313 B
Text

/* This is legal. The second function "g" simply hides the first one.
Because of the intervening variable declaration, the two "g" functions
are not in the same batch of mutually recursive functions.
See also test39 */
let
function g(a:int):int = a
type t = int
function g(a:int):int = a
in
0
end