Test suite results for test file webtbs/tw3222.pp

Test run data :

Run ID:
Operating system: linux
Processor: mipsel
Version: 3.3.1
Fails/OK/Total: 42/9172/9214
Version: 3.3.1
Full version: 3.3.1-15588-g902c93f3c3
Comment: -ao-xgot -fPIC -XR/home/pierre/sys-root/mipsel-linux -Xd -Xr/home/pierre/sys-root/mipsel-linux
Machine: gcclocal
Category: 1
SVN revisions: 902c93f3c3:484dab553b:3f8bbd3b00:902c93f3c3
Submitter: pierre
Date: 2024/04/21 08:50:00 <> 2024/04/20
Previous run: 935603
Next run: 936930

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
452047197936315FalseTrueSkipping test run because it is a unit

Record count: 1

No log of 936315.

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.