Browse Source

* bugs from marco

peter 25 years ago
parent
commit
c94fc2a448
3 changed files with 34 additions and 0 deletions
  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.