mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 10:19:30 +02:00
* new bug
This commit is contained in:
parent
ac8870b489
commit
b7a19dd847
13
tests/tbs/tb0466.pp
Normal file
13
tests/tbs/tb0466.pp
Normal file
@ -0,0 +1,13 @@
|
||||
var
|
||||
outf : file of byte;
|
||||
w : word;
|
||||
begin
|
||||
assign(outf, 'tb0466.tmp');
|
||||
rewrite(outf);
|
||||
{only explicit typecasting helps: byte(10)}
|
||||
write(outf, 10);
|
||||
w:=20;
|
||||
write(outf, w);
|
||||
close(outf);
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user