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

t_id 1181
t_adddate 2003/11/02
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=0 Percentage= 0.00

Skipped=50 Percentage= 100.00

Result type Cat. Count Percentage First date Last Date
Skipping test run because it is a unit 50 100.0 2024/05/08 02:04:00 34 2024/05/08 02:43:00 0
i386 27 54.0 2024/05/08 02:04:00 34 2024/05/08 02:43:00 0
x86_64 15 30.0 2024/05/08 02:09:00 20 2024/05/08 02:43:00 0
powerpc64 3 6.0 2024/05/08 02:05:00 54 2024/05/08 02:38:00 55
aarch64 5 10.0 2024/05/08 02:17:00 39 2024/05/08 02:36:00 40
linux 47 94.0 2024/05/08 02:05:00 30 2024/05/08 02:43:00 0
win32 1 2.0 2024/05/08 02:04:00 34 2024/05/08 02:04:00 34
go32v2 1 2.0 2024/05/08 02:27:00 56 2024/05/08 02:27:00 56
win64 1 2.0 2024/05/08 02:23:00 47 2024/05/08 02:23:00 47
3.3.1 23 46.0 2024/05/08 02:04:00 34 2024/05/08 02:43:00 0
3.2.3 27 54.0 2024/05/08 02:05:00 54 2024/05/08 02:43:00 0

Source:

{ Source provided for Free Pascal Bug Report 2536 }
{ Submitted by "Michael Van Canneyt" on  2003-06-14 }
{ e-mail: Michael.VanCanneyt@wisa.be }
unit tw2536;

interface

Type
  TWSAData = Pointer;

var

  // Delphi accepts this.
  WSAStartup: function(wVersionRequired: Word; var WSData: TWSAData): Integer stdcall = nil;
  // FPC accepts this.
  WSAStartup2: function(wVersionRequired: Word; var WSData: TWSAData): Integer = nil; stdcall;

implementation

end.unit testu2;

interface

Type
  TWSAData = Pointer;

const

  // FPC and Delphi accepts this.
  WSAStartup: function(wVersionRequired: Word; var WSData: TWSAData): Integer stdcall = nil;
  // FPC does not accept this.
  WSAStartup2: function(wVersionRequired: Word; var WSData: TWSAData): Integer = nil; stdcall;

implementation
end.

unit testu3;

interface

Type
  TWSAData = Pointer;
  TStartupFunction = function(wVersionRequired: Word; var WSData: TWSAData): Integer stdcall;
  TStartupFunction2 = function(wVersionRequired: Word; var WSData: TWSAData): Integer; stdcall;

var

  WSAStartup: TStartupFunction = nil;
  WSAStartup2: TStartupFunction2 = Nil;

implementation

end.

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