mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 00:09:23 +02:00
* old bug tbf/tb0122 that should succeed
This commit is contained in:
parent
f19c7200bb
commit
9b6bd8d58e
21
tests/tbs/tb0443.pp
Normal file
21
tests/tbs/tb0443.pp
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ %version=1.1}
|
||||||
|
{$ifdef fpc}
|
||||||
|
{$mode delphi}
|
||||||
|
{$else}
|
||||||
|
type
|
||||||
|
qword = int64;
|
||||||
|
{$endif}
|
||||||
|
|
||||||
|
var
|
||||||
|
b : byte;
|
||||||
|
i : smallint;
|
||||||
|
i64 : int64;
|
||||||
|
q : qword;
|
||||||
|
p : pointer;
|
||||||
|
|
||||||
|
begin
|
||||||
|
p:=pointer(b);
|
||||||
|
p:=pointer(i);
|
||||||
|
p:=pointer(i64);
|
||||||
|
p:=pointer(q);
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user