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

5 lines
97 B
Plaintext
Raw Normal View History

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