Browse Source

* constant ordinal type

peter 21 years ago
parent
commit
8004c68a42
1 changed files with 11 additions and 0 deletions
  1. 11 0
      tests/tbs/tb0473.pp

+ 11 - 0
tests/tbs/tb0473.pp

@@ -0,0 +1,11 @@
+const
+  w = $5000;
+begin
+  writeln(hi(w));
+  if hi(w)<>$50 then
+    begin
+      writeln('Error!');
+      halt(1);
+    end;  
+end.
+