* new bugs

This commit is contained in:
peter 2002-10-30 19:23:22 +00:00
parent 341775ee23
commit 37e8e2f992
2 changed files with 38 additions and 0 deletions

18
tests/webtbf/tw2209.pp Normal file
View File

@ -0,0 +1,18 @@
{ %opt=-Sew }
{ %fail }
{ Source provided for Free Pascal Bug Report 2209 }
{ Submitted by "Erik Scheffers" on 2002-10-30 }
{ e-mail: eriks@win.tue.nl }
{$mode delphi}
program case_bug;
var uninitialized : integer;
begin
case (uninitialized) of
1 : writeln('it''s a one!');
else writeln('it''s something else...');
end
end.

20
tests/webtbs/tw2210.pp Normal file
View File

@ -0,0 +1,20 @@
{ Source provided for Free Pascal Bug Report 2210 }
{ Submitted by "peter" on 2002-10-30 }
{ e-mail: peter@casltd.co.uk }
{$mode objfpc}
unit tw2210;
interface
implementation
type
tclass = class
function blah (p:integer) : boolean;
end;
function tclass.blah(p:integer):boolean;
begin
blah := true;
end;
end.