mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-26 16:32:20 +02:00
* test for fixed bug to play safe
(cherry picked from commit f36a665879
)
This commit is contained in:
parent
6279283ce1
commit
2ea6e0c82e
17
tests/webtbs/tw39464.pp
Normal file
17
tests/webtbs/tw39464.pp
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{ %norun }
|
||||||
|
program Test;
|
||||||
|
|
||||||
|
{$Mode ObjFPC}
|
||||||
|
|
||||||
|
type
|
||||||
|
TTestRec = packed record
|
||||||
|
Empty: packed record end;
|
||||||
|
end;
|
||||||
|
|
||||||
|
function GetEmptyPtr(R: TTestRec): Pointer;
|
||||||
|
begin
|
||||||
|
Result := @R.Empty;
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user