Browse Source

* variant problem where a normal operation is handled as variants

peter 23 years ago
parent
commit
758d221083
1 changed files with 10 additions and 0 deletions
  1. 10 0
      tests/tbf/tb0142.pp

+ 10 - 0
tests/tbf/tb0142.pp

@@ -0,0 +1,10 @@
+{ %fail }
+
+function f(b:byte):byte;
+begin
+  f:=chr(b)-chr(24);
+end;
+
+begin
+end.
+