mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 04:29:29 +02:00
* bugs from marco
This commit is contained in:
parent
0e38e5898d
commit
c94fc2a448
9
tests/tbf/tbf0347.pp
Normal file
9
tests/tbf/tbf0347.pp
Normal file
@ -0,0 +1,9 @@
|
||||
{$mode delphi}
|
||||
|
||||
type x = ^longint;
|
||||
|
||||
var y:x;
|
||||
|
||||
begin
|
||||
y [5]:=5;
|
||||
end.
|
14
tests/tbf/tbf0349.pp
Normal file
14
tests/tbf/tbf0349.pp
Normal file
@ -0,0 +1,14 @@
|
||||
{$mode delphi}
|
||||
|
||||
type
|
||||
TCl=class;
|
||||
|
||||
const
|
||||
b=1;
|
||||
|
||||
type
|
||||
TCL=class
|
||||
end;
|
||||
|
||||
begin
|
||||
end.
|
11
tests/tbs/tbs0348.pp
Normal file
11
tests/tbs/tbs0348.pp
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user