mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-07 05:06:00 +02:00
* test for fixed bug to play safe
This commit is contained in:
parent
859ae5fc7c
commit
f36a665879
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