* flag bugs that will not be fixed in 1.0.x to be 1.1 only

This commit is contained in:
peter 2002-01-19 14:21:37 +00:00
parent 869ca12ddb
commit 60a3de5d59
8 changed files with 14 additions and 13 deletions

View File

@ -1,13 +0,0 @@
{ %FAIL }
{ Old file: tbf0036.pp }
{ assigning a single character to array of char ?OK 0.9.9 }
program bug0036;
{Discovered by Daniel Mantione.}
var a:array[0..31] of char;
begin
a:=' '; {Incorrect Pascal statement, but why a protection error?}
end.

View File

@ -1,3 +1,5 @@
{ %fail }
{$mode delphi}
var

View File

@ -1,4 +1,5 @@
{ %OPT=-Un }
{ %RECOMPILE }
{ Old file: tbs0180.pp }
{ problem for units with names different from file name should be accepted with -Un !! Solved, but you still need to use the file name from other units OK 0.99.9 (PM) }

View File

@ -1,3 +1,5 @@
{ %version=1.1 }
{$ifdef fpc}{$MODE OBJFPC}{$endif}
uses sysutils;
var

View File

@ -1,3 +1,5 @@
{ %version=1.1 }
uses ub0380;
procedure p1(s:string);overload;
begin

View File

@ -1,3 +1,5 @@
{ %version=1.1 }
{$ifdef fpc}{$mode objfpc}{$endif}
uses ub0386;
type

View File

@ -1,3 +1,5 @@
{ %version=1.1 }
{$ifdef fpc}{$mode objfpc}{$endif}
uses ub0391;

View File

@ -9,11 +9,14 @@ var r:trec; s:ansistring;
begin
s:=chr(ord('A')+random(26));
r.s:=s;
writeln('init');
if plongint(pointer(s)-4)^<>3 then
halt(1);
writeln('p1()');
p1(r);
if plongint(pointer(s)-4)^<>3 then
halt(1);
writeln('p2()');
p2(r);
if plongint(pointer(s)-4)^<>3 then
halt(1);