raz / conform / err / MatchStrNoElse.raz

9 lines · 136 B · raw · history · last change 768afb54

1module MatchStrNoElse;
2proc f(s: []U8; v: []I32);
3var n: INT;
4begin
5 match s of
6 | "a": n := 1;
7 end;
8end;
9end MatchStrNoElse.