summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/type/funarg-type-mismatch.tig
blob: 75c0a79d95cb79d64643759740d97c6c2a14ca4f (plain)
1
2
3
4
5
6
/* error : formals and actuals have different types */
let
        function g(a : int , b : string) : int = a
in
        g("one", "two")
end