Explorar o código

* bugs from marco

peter %!s(int64=25) %!d(string=hai) anos
pai
achega
c94fc2a448
Modificáronse 3 ficheiros con 34 adicións e 0 borrados
  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.