Explorar o código

* New test for !40643

J. Gareth "Curious Kit" Moreton hai 1 ano
pai
achega
afd63ef0ce
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  1. 11 0
      tests/webtbs/tw40643.pp

+ 11 - 0
tests/webtbs/tw40643.pp

@@ -0,0 +1,11 @@
+{ %OPT=-O1 }
+program tw40643;
+var
+  a: integer = 1;
+  b: integer = 1;
+begin
+  if (a < 1) or ((a = 1) and (a = b)) then Exit;
+
+  WriteLn('Fail');
+  Halt(1);
+end.