fpc/tests/tbs/tb0383.pp
2001-10-22 21:21:25 +00:00

15 lines
152 B
ObjectPascal

type
enum1 = (one,two,three);
enum2 = (een,twee,drie);
procedure p1(e:enum1);
begin
end;
var
e2 : enum2;
begin
e2:=een;
p1(enum1(e2));
end.