mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 16:09:25 +02:00
Add test for bug report 38973 (already fixed in trunk/main)
This commit is contained in:
parent
d354428f42
commit
23bf243acd
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