Commit | Line | Data |
---|---|---|
38ffcb1f SK |
1 | /* This is legal. The second function "g" simply hides the first one. |
2 | Because of the intervening variable declaration, the two "g" functions | |
3 | are not in the same batch of mutually recursive functions. | |
4 | See also test39 */ | |
5 | let | |
6 | function g(a:int):int = a | |
7 | type t = int | |
8 | function g(a:int):int = a | |
9 | in | |
10 | 0 | |
11 | end |