浏览代码

* variant problem where a normal operation is handled as variants

peter 23 年之前
父节点
当前提交
758d221083
共有 1 个文件被更改,包括 10 次插入0 次删除
  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.
+