Test suite results for test file webtbs/tw3004.pp

Test run data :

Run ID:
Operating system: wasi
Processor: wasm32
Version: 3.3.1
Fails/OK/Total: 275/8854/9129
Version: 3.3.1
Full version: 3.3.1-16504-gf356d8cc51
Comment: -n -vx -Adefault -CTnoexceptions -CTwasmthreads -Fd
Machine: cfarm14
Category: 1
SVN revisions: f356d8cc51:7d83cea8da:5769d737d1:fc1050a834
Submitter: muller
Date: 2024/09/26 20:18:00 <> 2024/09/25
Previous run: 0
Next run:

Hide skipped tests

Hide successful tests

Test file "webtbs/tw3004.pp" information:

t_id 1290
t_adddate 2004/05/19
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
9496685941015615FalseFalseFailed to run

Record count: 1

Log of 1015615:

[HEAP] Size: 96 Kb,   Used: 304 bytes
An unhandled exception occurred at $00000000:
Exception: foo blah
  $00000000

Program ./tw3004.wasm exited with error 217 whereas only error 0 was expected

Source:

{ Source provided for Free Pascal Bug Report 3004 }
{ Submitted by "Michalis Kamburelis" on  2004-03-04 }
{ e-mail: michalis@camelot.homedns.org }
{$mode OBJFPC}
{$H+}
{ $mode DELPHI}

uses SysUtils;

  procedure P;
  var s:string;
  begin
   s:='blah';
   raise Exception.Create('foo ' +s);
  end;

procedure p1;
var
  i : sizeint;
begin
 i:=memavail; 
 try
  P;
 except
 end;
 if i<>memavail then
   begin
     writeln('Memleak');
     halt(1);
   end;
end;

begin
  p1;
end.

Link to SVN view of webtbs/tw3004.pp source.