fpc/tests/dotest.pp
2000-04-02 20:02:00 +00:00

21 lines
273 B
ObjectPascal

unit dotest;
interface
{$ifdef go32v2}
uses
dpmiexcp,lineinfo;
{$endif go32v2}
procedure do_error(l : longint);
implementation
procedure do_error(l : longint);
begin
writeln('Error near: ',l);
halt(100);
end;
end.