* test for fixed bug to play safe

This commit is contained in:
Florian Klämpfl 2022-01-30 22:34:35 +01:00
parent 859ae5fc7c
commit f36a665879

17
tests/webtbs/tw39464.pp Normal file
View 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.