mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 09:49:22 +02:00
REVERT: 41adb276bb
"Remove obsolete checks for FPC versions earlier then 3.0."
- Not obsolete for the testcase
This commit is contained in:
parent
e259355d76
commit
ae263321c1
@ -344,15 +344,20 @@ type
|
|||||||
// recursive declaration
|
// recursive declaration
|
||||||
TSize = record
|
TSize = record
|
||||||
cx : Longint; cy : Longint;
|
cx : Longint; cy : Longint;
|
||||||
public
|
public
|
||||||
constructor Create(asz :TSize);
|
{$if FPC_FULLVERSION >= 30000}
|
||||||
|
constructor Create(asz :TSize);
|
||||||
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TFunc1 = function(SomeValue, Foo: Integer; Bar: Word; X: Byte): Boolean;
|
TFunc1 = function(SomeValue, Foo: Integer; Bar: Word; X: Byte): Boolean;
|
||||||
TProc1 = procedure();
|
TProc1 = procedure();
|
||||||
TMeth1 = function(AVal: Integer): Boolean of object;
|
TMeth1 = function(AVal: Integer): Boolean of object;
|
||||||
|
{$if FPC_FULLVERSION >= 30000}
|
||||||
PFuncSelfRef = ^TFuncSelfRef;
|
PFuncSelfRef = ^TFuncSelfRef;
|
||||||
TFuncSelfRef = function(SomeValue, Foo: PFuncSelfRef): PFuncSelfRef;
|
TFuncSelfRef = function(SomeValue, Foo: PFuncSelfRef): PFuncSelfRef;
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
|
|
||||||
// Recursive pointers
|
// Recursive pointers
|
||||||
TRecursePtrA1 = ^TRecursePtrA2;
|
TRecursePtrA1 = ^TRecursePtrA2;
|
||||||
@ -529,7 +534,10 @@ var
|
|||||||
MyStringList: TMyStringList;
|
MyStringList: TMyStringList;
|
||||||
|
|
||||||
U8Data1, U8Data2: Utf8String;
|
U8Data1, U8Data2: Utf8String;
|
||||||
|
|
||||||
|
{$if FPC_FULLVERSION >= 30000}
|
||||||
dummy1: PFuncSelfRef;
|
dummy1: PFuncSelfRef;
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
const
|
const
|
||||||
(* LOCATION: global const *)
|
(* LOCATION: global const *)
|
||||||
@ -599,8 +607,10 @@ var
|
|||||||
TEST_PREPOCESS(WatchesValuePrgIdent.inc, pre__=gv_ptrlist_, "_OP_=:PPointerList;//", "_O2_=:PPointerList;//" )
|
TEST_PREPOCESS(WatchesValuePrgIdent.inc, pre__=gv_ptrlist_, "_OP_=:PPointerList;//", "_O2_=:PPointerList;//" )
|
||||||
|
|
||||||
|
|
||||||
|
{$if FPC_FULLVERSION >= 30000}
|
||||||
constructor TSize.Create(asz :TSize);
|
constructor TSize.Create(asz :TSize);
|
||||||
begin end;
|
begin end;
|
||||||
|
{$endif}
|
||||||
constructor TObjectCreate3Int64.Create;
|
constructor TObjectCreate3Int64.Create;
|
||||||
begin end;
|
begin end;
|
||||||
destructor TObjectCreate3Int64.Destroy;
|
destructor TObjectCreate3Int64.Destroy;
|
||||||
@ -973,7 +983,10 @@ begin
|
|||||||
VarCastRecl4.l4 := 13;
|
VarCastRecl4.l4 := 13;
|
||||||
VarCastRecq2.q := $0010001100120013;
|
VarCastRecq2.q := $0010001100120013;
|
||||||
VarCastRecq2.q2 := $0020002100220023;
|
VarCastRecq2.q2 := $0020002100220023;
|
||||||
|
|
||||||
|
{$if FPC_FULLVERSION >= 30000}
|
||||||
dummy1 := nil;
|
dummy1 := nil;
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
with ModifyTestByte do begin pre := qword($9696969696969696); post := $69; val := $01; end;
|
with ModifyTestByte do begin pre := qword($9696969696969696); post := $69; val := $01; end;
|
||||||
with ModifyTestWord do begin pre := qword($9696969696969696); post := $69; val := $0101; end;
|
with ModifyTestWord do begin pre := qword($9696969696969696); post := $69; val := $0101; end;
|
||||||
|
Loading…
Reference in New Issue
Block a user