mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 05:11:38 +02:00
* new bugs
This commit is contained in:
parent
908c2c1ca7
commit
d126205962
@ -36,6 +36,7 @@ begin
|
||||
i.Show; //writes nothing
|
||||
except //does not excepts
|
||||
WriteLn('Problem');
|
||||
halt(1);
|
||||
end;
|
||||
//in delphi it works OK
|
||||
end.
|
||||
|
16
tests/webtbs/tw2197.pp
Normal file
16
tests/webtbs/tw2197.pp
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
{ Source provided for Free Pascal Bug Report 2197 }
|
||||
{ Submitted by "Pavel V.Ozerski" on 2002-10-23 }
|
||||
{ e-mail: pavel@insect.mail.iephb.ru }
|
||||
{$APPTYPE CONSOLE}
|
||||
{modified sample of Vlad Smaglyuk}
|
||||
procedure Average ({const} Row : Array of byte);
|
||||
begin
|
||||
writeln('Procedure body');
|
||||
end;
|
||||
BEGIN
|
||||
writeln('Before call');
|
||||
Average([1,2,3]);
|
||||
writeln('After call');
|
||||
END.
|
||||
|
33
tests/webtbs/tw2198.pp
Normal file
33
tests/webtbs/tw2198.pp
Normal file
@ -0,0 +1,33 @@
|
||||
{ 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.
|
||||
|
Loading…
Reference in New Issue
Block a user