raz
/
conform
/
err
/ VariantConstMatch.raz
about
files
log
releases
feed
11 lines · 207 B ·
raw
·
history
· last change
71a95b30
1
module
VariantConstMatch;
2
type
Shape =
variant
circle(r:
INT
); dot;
end
;
3
const
C: Shape = circle(
1
);
4
proc
main*;
5
begin
6
match
C
of
7
| circle(r): r :=
2
;
8
| dot:
9
end
;
10
end
;
11
end
VariantConstMatch.