fpc/tests/test/tisoext1.pp
yury 9ef7a17390 * Delete temp files after test.
git-svn-id: trunk@39918 -
2018-10-12 15:08:30 +00:00

19 lines
236 B
ObjectPascal

{$mode iso}
var
f : file of byte;
b : byte;
begin
rewrite(f,'tisoext1.tmp');
write(f,123);
close(f);
b:=0;
reset(f,'tisoext1.tmp');
read(f,b);
if b<>123 then
halt(1);
close(f);
erase(f);
writeln('ok');
end.