Explorar o código

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

Pierre Muller %!s(int64=4) %!d(string=hai) anos
pai
achega
23bf243acd
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      tests/webtbs/tw38973.pp

+ 12 - 0
tests/webtbs/tw38973.pp

@@ -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.