浏览代码

* bugs from marco

peter 25 年之前
父节点
当前提交
c94fc2a448
共有 3 个文件被更改,包括 34 次插入0 次删除
  1. 9 0
      tests/tbf/tbf0347.pp
  2. 14 0
      tests/tbf/tbf0349.pp
  3. 11 0
      tests/tbs/tbs0348.pp

+ 9 - 0
tests/tbf/tbf0347.pp

@@ -0,0 +1,9 @@
+{$mode delphi}
+
+type x = ^longint;
+
+var y:x;
+
+begin
+ y [5]:=5;
+end.

+ 14 - 0
tests/tbf/tbf0349.pp

@@ -0,0 +1,14 @@
+{$mode delphi}
+
+type
+  TCl=class;
+
+const
+  b=1;
+
+type
+  TCL=class
+  end;
+
+begin
+end.

+ 11 - 0
tests/tbs/tbs0348.pp

@@ -0,0 +1,11 @@
+{$mode delphi}
+
+type fluparr=array[0..1000] of longint;
+     flupptr=^fluparr;
+
+var flup : Flupptr;
+    Flupresult : longint;
+
+begin
+ flupresult:=flup[5];
+end.