mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 20:47:53 +02:00
13 lines
275 B
ObjectPascal
13 lines
275 B
ObjectPascal
{ Old file: tbs0062.pp }
|
|
{ shows illegal type conversion for boolean OK 0.99.6 (PFV) }
|
|
|
|
Program Bug0062;
|
|
|
|
|
|
var
|
|
myvar:boolean;
|
|
Begin
|
|
{ by fixing this we also start partly implementing LONGBOOL/WORDBOOL }
|
|
myvar:=boolean(1); { illegal type conversion }
|
|
end.
|