Test suite results for test file test/cg/traise6.pp

Test run data :

Free Pascal Compiler Test Suite Results

View Test suite results

Please specify search criteria:
File:
Operating system:
Processor:
Version
Date
Submitter
Machine
Comment
Limit
Cond
Category
Only failed tests
Hide skipped tests
List all tests

Test file "test/cg/traise6.pp" information:

t_id 201
t_adddate 2003/10/03
t_result 217
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=50 Percentage= 100.00

Result type Cat. Count Percentage First date Last Date
Successfully run 50 100.0 2024/05/18 01:37:00 36 2024/05/18 02:13:00 0
i386 19 38.0 2024/05/18 01:37:00 36 2024/05/18 02:10:00 30
x86_64 29 58.0 2024/05/18 01:39:00 15 2024/05/18 02:13:00 0
aarch64 2 4.0 2024/05/18 01:46:00 37 2024/05/18 02:03:00 34
linux 48 96.0 2024/05/18 01:37:00 36 2024/05/18 02:13:00 0
win32 1 2.0 2024/05/18 02:04:00 34 2024/05/18 02:04:00 34
go32v2 1 2.0 2024/05/18 01:45:00 54 2024/05/18 01:45:00 54
3.3.1 30 60.0 2024/05/18 01:37:00 36 2024/05/18 02:11:00 23
3.2.3 20 40.0 2024/05/18 01:37:00 47 2024/05/18 02:13:00 0

Source:

{ %RESULT=217 }
{****************************************************************}
{  CODE GENERATOR TEST PROGRAM                                   }
{  By Carl Eric Codere                                           }
{****************************************************************}
{ NODE TESTED : secondraise()                                    }
{****************************************************************}
{ PRE-REQUISITES: secondload()                                   }
{                 secondassign()                                 }
{                 secondtypeconv()                               }
{                 secondtryexcept()                              }
{                 secondcalln()                                  }
{                 secondadd()                                    }
{****************************************************************}
{ DEFINES:                                                       }
{            FPC     = Target is FreePascal compiler             }
{****************************************************************}
{ REMARKS : Tested with Delphi 3 as reference implementation     }
{****************************************************************}
program traise6;

{$ifdef fpc}
{$mode objfpc}
{$endif}

Type
  TAObject = class(TObject)
    a : longint;
    end;
  TBObject = Class(TObject)
    b : longint;
      constructor create(c: longint);
    end;


{ The test cases were taken from the SAL internal architecture manual }

    procedure fail;
    begin
      WriteLn('Failure.');
      halt(1);
    end;


 constructor tbobject.create(c:longint);
  begin
    inherited create;
    b:=c;
  end;


  procedure MyRoutine;
   Begin
     WriteLn('hello world!');
   end;

var
 bobj: TBobject;
 i: integer;
Begin
  i:=$7f;
{$ifdef ver1_0}
  raise TBobject.create(i) at longint(@MyRoutine);
{$else}
  raise TBobject.create(i) at @MyRoutine,$00000001;
{$endif}
end.

{
  $Log: traise6.pp,v $
  Revision 1.2  2002/09/07 15:40:56  peter
    * old logs removed and tabs fixed

  Revision 1.1  2002/08/10 08:27:44  carl
    + mre tests for cg testuit

}

Link to SVN view of test/cg/traise6.pp source.