ligo/src/test/contracts/letin.mligo
2019-09-15 13:12:19 +02:00

8 lines
174 B
Plaintext

type storage = int * int
let%entry main (n: int) storage =
let x : int * int =
let x : int = 7
in x + n, storage.(0) + storage.(1)
in (([] : operation list), x)