mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 22:49:23 +02:00
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:
parent
4e5fb2c6a8
commit
bbe0f05a7f
12
tests/webtbs/tw38973.pp
Normal file
12
tests/webtbs/tw38973.pp
Normal 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.
|
Loading…
Reference in New Issue
Block a user