ligo/src/test/contracts/double_main.ligo
Lesenechal Remi 8ce4772ae4 add tests
2020-01-06 18:51:43 +01:00

8 lines
275 B
Plaintext

function main(const p : unit; const s : int) : list(operation) * int is
((list end : list(operation)), s + 1)
function main(const p : unit; const s : int) : list(operation) * int is
begin
const ret : list(operation) * int = main(p, s)
end
with (ret.0, ret.1 + 1)