fpc/tests/webtbs/tw7071.pp
peter ac9df7be0d * remove Pipes
git-svn-id: trunk@4388 -
2006-08-07 20:00:46 +00:00

30 lines
374 B
ObjectPascal

{$mode objfpc}{$H+}
uses
Classes, SysUtils;
var
err : boolean;
procedure Proc(var Buf);
begin
writeln('Proc(var Buf)');
end;
procedure Proc(Stream: TStream);
begin
writeln('Proc(Stream: TStream)');
err:=false;
end;
var
InputStream: TMemoryStream;
begin
err:=true;
InputStream:=TMemoryStream.Create;
Proc(InputStream);
if err then
halt(1);
end.