* new bugs

* fixed version tag
This commit is contained in:
peter 2002-04-19 13:08:33 +00:00
parent 5d2999e26d
commit 2d4b532578
6 changed files with 78 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ %ver=1.1 }
{ %version=1.1 }
{$mode objfpc}

View File

@ -1,4 +1,4 @@
{ %ver=1.1 }
{ %version=1.1 }
begin
{ Default extension .pp and .pas should be searched }

View File

@ -1,4 +1,4 @@
{ %ver=1.1 }
{ %version=1.1 }
VAR
X64 : Qword;

47
tests/webtbs/tw1935.pp Normal file
View File

@ -0,0 +1,47 @@
{ %version=1.1 }
{$ifdef fpc}
{$mode objfpc}
{$endif}
type
TCls = class
public
procedure build (a, b, c: LongInt);overload;
procedure build (a, b, c, d: LongInt);overload;
end;
const
err : boolean=true;
procedure TCls.build (a, b, c: LongInt);
procedure subproc;
begin
writeln ('a, b, c');
err:=false;
end;
begin
subproc;
end;
procedure TCls.build (a, b, c, d: LongInt);
procedure subproc;
begin
writeln ('a, b, c, d');
end;
begin
end;
var
C: TCls;
begin
C := TCls.create;
C.build (1, 2, 3);
if err then
halt(1);
end.

27
tests/webtbs/tw1936.pp Normal file
View File

@ -0,0 +1,27 @@
var
X,Y,X1,Y1,X2,Y2,Style: byte;
begin
X := 4;
Y := 5;
X1 := 3;
X2 := 5;
Y1 := 4;
Y2 := 6;
Style := 7;
if ((Style=0) and (X in [X1..X2]) and (Y in [Y1..Y2]))
or ((Style=6) and (X in [succ(X1)..pred(X2)]) and (Y in [Y1+3..pred(Y2)]))
or ((Style <> 0) and (Style <> 6) and (X in [succ(X1)..pred(X2)]) and (Y in [succ(Y1)..pred(Y2)]))
then
begin
writeln ('OK');
end
else
begin
writeln('ERROR');
halt(1);
end;
end.

1
tests/webtbs/ub1883.pp Normal file
View File

@ -0,0 +1 @@
writeln('Success');