ligo/src/test/contracts/function-shared.mligo
2020-03-02 18:01:56 +01:00

6 lines
172 B
Plaintext

(* Test use of multiple subroutines in a CameLIGO function *)
let foo (i : int) : int = i + 20
let bar (i : int) : int = i + 50
let foobar (i : int) : int = foo i + bar i