Test suite results for test file webtbs/tw3216.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 "webtbs/tw3216.pp" information:

t_id 1323
t_adddate 2004/08/08
t_result 0
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/06/02 01:34:00 16 2024/06/02 03:04:00 24
i386 13 26.0 2024/06/02 01:45:00 35 2024/06/02 03:03:00 25
sparc 1 2.0 2024/06/02 02:33:00 41 2024/06/02 02:33:00 41
x86_64 33 66.0 2024/06/02 01:34:00 16 2024/06/02 03:04:00 24
aarch64 3 6.0 2024/06/02 02:36:00 40 2024/06/02 02:59:00 37
linux 44 88.0 2024/06/02 01:34:00 16 2024/06/02 03:04:00 24
win32 1 2.0 2024/06/02 03:03:00 25 2024/06/02 03:03:00 25
solaris 5 10.0 2024/06/02 02:33:00 41 2024/06/02 03:01:00 21
3.3.1 30 60.0 2024/06/02 01:34:00 16 2024/06/02 03:04:00 24
3.2.3 20 40.0 2024/06/02 01:38:00 27 2024/06/02 03:01:00 34

Source:

{ Source provided for Free Pascal Bug Report 3216 }
{ Submitted by "Mark Honman" on  2004-07-17 }
{ e-mail: wania_mark@yahoo.co.uk }
program OLEVariantPropertyBug;

{$mode objfpc}{$H+}

uses
  Classes;

type TShowProblem = class
    function GetValue(Index : integer) : OleVariant; stdcall;
    property IWontCompile[Index : integer] : OleVariant read GetValue;
  end;

{ Note :
  if any of the following is changed, the problem disappears
    * make it a scalar (non-indexed) property
    * remove the stdcall directive
    * change the type of the property to something else
  although quite obscure, it would be very useful to have this fixed as it will
  greatly assist in interfacing to external OLE objects - in this case the ADO
  library for access to MS SQL Server.

  Identified with FPC 1.9.3 on Windows ME.
}

function TShowProblem.GetValue(Index : integer) : OleVariant; stdcall;
begin
end;

begin

end.

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