mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-21 04:01:35 +02:00
15 lines
254 B
ObjectPascal
15 lines
254 B
ObjectPascal
{ %FAIL }
|
|
{ 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. |