ligo/src/test/contracts/negative/error_function_annotation_3.mligo
Pierre-Emmanuel Wulfman c23827e8de new negative test
2020-03-04 10:35:34 +01:00

10 lines
152 B
Plaintext

type op =
| Add of int
| Sub of int
let main (p,s : int * op) : (operation list) * op =
match s with
| Add si -> Add si
| Sub si -> Sub si