ligo/src/test/contracts/function-shared.mligo
2019-10-24 15:27:26 -07:00

8 lines
176 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)