raz
/
conform
/
err
/ ConstMatchName.raz
about
files
log
releases
feed
15 lines · 220 B ·
raw
·
history
· last change
b13f87f8
1
module
ConstMatchName;
2
type
S =
variant
circle(r:
INT
); dot;
end
;
3
proc
f(
const
s: S);
4
begin
5
match
s
of
6
| circle(r): r :=
0
;
7
| dot:
8
end
;
9
end
;
10
proc
main*;
11
var
s: S;
12
begin
13
f(s);
14
end
;
15
end
ConstMatchName.