ligo/src/test/contracts/condition-annot.mligo

5 lines
96 B
Plaintext
Raw Normal View History

type integer = int
2020-02-27 17:51:29 +01:00
let main (i : int) =
if (i = 2 : bool) then (42 : int) else (0 : integer)