summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/bind/invalid-function-redefinition-1.tig
blob: aa50eaff1a05be4399453eb01c7778a68a9614f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* public. */

/* This is invalid, since there are two functions with the same name
    in the same (consecutive) batch of mutually recursive functions.
   See also test48 */
let
  function g(a : int) : int = a
  function g(a : int) : int = a
in
  0
end