fpc/bugs/bug0009.pp
1998-03-25 11:26:49 +00:00

17 lines
271 B
ObjectPascal

var c:byte;
Procedure a(b:boolean);
begin
if b then writeln('TRUE') else writeln('FALSE');
end;
begin {main program}
a(true); {works}
a(false); {works}
c:=0;
a(c>0); {doesn't work}
a(c<0); {doesn't work}
a(c=0);
end.