Test suite results for test file webtbs/tw3222.pp

Test run data :

Run ID:
Operating system: linux
Processor: x86_64
Version: 3.2.0
Fails/OK/Total: 30/7756/7786
Version: 3.2.0
Full version: 3.2.0-beta
Comment: -Cg -O4 -Criot -Fd
Machine: gcc121
Category: 1
SVN revisions: 20:44143:1:44109:1:44160:1:44148
Submitter: pierre
Date: 2020/02/18 02:40:00
Previous run: 487938
Next run: 488191

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

Record count: 1

No log of 488056.

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.