ligo/test/contracts/function-complex.ligo

8 lines
142 B
Plaintext
Raw Normal View History

2019-05-13 00:56:22 +04:00
function main (const i : int) : int is
var j : int := 0 ;
var k : int := 1 ;
begin
j := k + i ;
k := i + j ;
end with (k + j)