raz / conform / err / MatchIntEmpty.raz

9 lines · 126 B · raw · history · last change 2a226448

1module MatchIntEmpty;
2proc f(n: I64);
3begin
4 match n of
5 | 5 .. 1: n := 0;
6 | else:
7 end;
8end;
9end MatchIntEmpty.