Test suite results for test file webtbs/tw3222.pp

Test run data :

Run ID:
Operating system: linux
Processor: powerpc
Version: 3.2.3
Fails/OK/Total: 44/7941/7985
Version: 3.2.3
Full version: 3.2.3-1374-g849fbd722c-unpushed
Comment: -gwl -O- -Xd -Fl/usr/lib32 -Fd -Fl/usr/lib/gcc/powerpc64-linux-gnu/13/32 -Fd
Machine: gcc203
Category: 1
SVN revisions: fdf93c5b29:849fbd722c:ae0fe8a6a0:d1c29e6cb9
Submitter: pierre
Date: 2024/04/19 11:20:00 <> 2024/04/10
Previous run: 933767
Next run: 936195

Hide skipped tests

Hide successful tests

Test file "webtbs/tw3222.pp" information:

t_id 1340
t_adddate 2004/08/28
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
443727896934975FalseTrueSkipping test run because it is a unit

Record count: 1

No log of 934975.

Source:

{ Source provided for Free Pascal Bug Report 3222 }
{ Submitted by "Christian Iversen" on  2004-07-28 }
{ e-mail: chrivers@iversen-net.dk }
(******************************************************************************
 *
 *  (C)Copyright 1999-2003 Technetium Group.  All Rights Reserved.
 *
 *  File:          LibXThread.pas
 *  Content:
 *
 *  Compatiblity:  32-Bit, Delphi, FPC approved
 *
 *  Programmer:    Ivo Steinmann
 *  E-Mail:        isteinmann@bluewin.ch
 *  Homepage:      http://www.technetium.dk
 *
 *  $Date: 2004/08/27 21:05:10 $
 *  $Rev: 1651 $
 *
 *****************************************************************************)


Unit tw3222;

{$mode delphi}

Interface

Type
  XThreadMethod = Function: LongInt Of Object;

  PThreadSyncRec = ^XThreadSyncRec;
  XThreadSyncRec = Record
    Method : XThreadMethod;
  End;

  PSyncRecArray = ^XSyncRecArray;
  XSyncRecArray = Array[Byte] Of PThreadSyncRec;

Implementation

Function TXThreadSynchronizerProcess: LongInt;
Var
  Local: PSyncRecArray;
Begin
  With Local[0]^ Do
  Begin
    Result := Method; // Doesn't work
    Result := Method(); // Works
  End;
End;

End.

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