Test every book test case
[tiger.ml.git] / compiler / testcases / test19.tig
... / ...
CommitLineData
1/* error : second function uses variables local to the first one, undeclared variable */
2let
3
4function do_nothing1(a: int, b: string):int=
5 (do_nothing2(a+1);0)
6
7function do_nothing2(d: int):string =
8 (do_nothing1(a, "str");" ")
9
10in
11 do_nothing1(0, "str2")
12end
13
This page took 0.023121 seconds and 4 git commands to generate.