mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-07-28 08:06:04 +02:00
* test for auto derefencing
This commit is contained in:
parent
9f15f8638b
commit
fc88544de0
22
tests/tbs/tb0355.pp
Normal file
22
tests/tbs/tb0355.pp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{$mode delphi}
|
||||||
|
|
||||||
|
const
|
||||||
|
CSV_Internal = 10;
|
||||||
|
|
||||||
|
type
|
||||||
|
PTypeRec = ^TTypeRec;
|
||||||
|
TTypeRec = record
|
||||||
|
atypeid: Word;
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
function ChangeType(newtype: PTypeRec): Pointer;
|
||||||
|
|
||||||
|
begin
|
||||||
|
if NewType.AtypeID = CSV_Internal then
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user