mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 15:47:52 +02:00
* enum(enum) test
This commit is contained in:
parent
87f83123d3
commit
05aa164e57
14
tests/tbs/tb0383.pp
Normal file
14
tests/tbs/tb0383.pp
Normal file
@ -0,0 +1,14 @@
|
||||
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.
|
Loading…
Reference in New Issue
Block a user