fpc/tests/tbs/tb0487.pp
2005-02-24 22:36:03 +00:00

21 lines
223 B
ObjectPascal

uses
variants;
var
v : variant;
i : longint;
begin
v:=true;
if not(v) then
halt(1);
while not(v) do
halt(1);
i:=1;
repeat
if i>1 then
halt(1);
inc(i);
until v;
writeln('ok');
end.