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

33 lines
440 B
ObjectPascal

{ Source provided for Free Pascal Bug Report 2198 }
{ Submitted by "Sebastian Günther" on 2002-10-23 }
{ e-mail: sg@freepascal.org }
{$mode objfpc}
type
TTest = class
procedure x;
procedure x(i: Integer);
end;
procedure TTest.x;
const s = 'Test1';
begin
writeln(s);
end;
procedure TTest.x(i: Integer);
const s = 'Test2';
begin
writeln(s);
end;
var
t : ttest;
begin
t:=ttest.create;
t.x;
t.x(1);
t.free;
end.