Add test for bug report #38973 (already fixed in trunk/main)

Fixed by in fixes_3_2 branch by cherry-pick commit g4e5fb2c

(cherry picked from commit 0bc827e9e2)
This commit is contained in:
Pierre Muller 2021-08-24 13:04:50 +00:00
parent 4e5fb2c6a8
commit bbe0f05a7f

12
tests/webtbs/tw38973.pp Normal file
View File

@ -0,0 +1,12 @@
{%OPT=-O2}
{$mode objfpc}
var
b : LongBOOL;
pb : ^LongBOOL;
begin
b:=true;
pb:=nil;
if Assigned(pb) and pb^ then
Exit;
b:=false;
end.