mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 14:08:02 +02:00
15 lines
152 B
ObjectPascal
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.
|