mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 23:59:35 +02:00
14 lines
244 B
ObjectPascal
14 lines
244 B
ObjectPascal
{ Old file: tbf0208.pp }
|
|
{ implicit conversion from boolean to longint should not be allowed }
|
|
|
|
program tbf0208;
|
|
|
|
{ implicit boolean to integer conversion should not be
|
|
allowed }
|
|
var
|
|
b : boolean;
|
|
i : longint;
|
|
begin
|
|
b:=true;
|
|
i:=b;
|
|
end. |