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

t_id 1444
t_adddate 2005/01/09
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/05/20 23:33:00 38 2024/05/21 01:32:00 28
i386 30 60.0 2024/05/21 00:08:00 23 2024/05/21 01:32:00 28
sparc 6 12.0 2024/05/20 23:33:00 38 2024/05/20 23:55:00 41
x86_64 9 18.0 2024/05/20 23:44:00 14 2024/05/21 01:25:00 26
powerpc64 2 4.0 2024/05/21 01:10:00 101 2024/05/21 01:11:00 108
aarch64 3 6.0 2024/05/21 00:12:00 32 2024/05/21 01:29:00 35
linux 44 88.0 2024/05/20 23:44:00 14 2024/05/21 01:32:00 28
solaris 6 12.0 2024/05/20 23:33:00 38 2024/05/20 23:55:00 41
3.3.1 30 60.0 2024/05/20 23:37:00 42 2024/05/21 01:32:00 28
3.2.3 20 40.0 2024/05/20 23:33:00 38 2024/05/21 01:30:00 34

Source:

{ Source provided for Free Pascal Bug Report 3418 }
{ Submitted by "raum" on  2004-11-30 }
{ e-mail: raum@forward.to }

Program TEST;
uses Variants, sysutils;

Var
  p : array[0..1] of variant;
  s : string;
begin
 s := '101';
 writeln('doesnt crash');
 p[1] := StrToInt(s);
 p[0] := 'toto';

 writeln('crash'); // IDE internal error
 p[0] := 'toto';
 p[1] := StrToInt(s);
End.

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