Browse Source

* enum(enum) test

peter 24 years ago
parent
commit
05aa164e57
1 changed files with 14 additions and 0 deletions
  1. 14 0
      tests/tbs/tb0383.pp

+ 14 - 0
tests/tbs/tb0383.pp

@@ -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.