fpc/tests/tbs/tb0483u.pp
fpc 790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00

33 lines
488 B
ObjectPascal

{$mode delphi}
unit tb0483u;
interface
type
tmyclass1 = class
private
procedure x(var l : longint);message 1234;
public
procedure defaulthandler(var msg);override;
end;
const
testresult : longint = 0;
implementation
procedure tmyclass1.defaulthandler(var msg);
begin
writeln('error; being in tmyclass1.defaulthandler');
halt(1);
end;
procedure tmyclass1.x(var l : longint);
begin
testresult:=1;
end;
end.