raz / conform / err / TryCount.raz

12 lines · 161 B · raw · history · last change 7916b9fd

1module TryCount;
2proc f: (INT, ERROR);
3begin
4 return 1, nil;
5end;
6proc g: ERROR;
7var a, b: INT;
8begin
9 a, b := try f();
10 return nil;
11end;
12end TryCount.