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

t_id 1343
t_adddate 2004/08/28
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/10/19 09:39:00 55 2024/10/19 19:27:00 38
i386 5 10.0 2024/10/19 09:39:00 55 2024/10/19 11:13:00 63
m68k 1 2.0 2024/10/19 10:22:00 40 2024/10/19 10:22:00 40
powerpc 5 10.0 2024/10/19 10:03:00 203 2024/10/19 13:52:00 63
arm 1 2.0 2024/10/19 10:03:00 32 2024/10/19 10:03:00 32
x86_64 10 20.0 2024/10/19 10:50:00 30 2024/10/19 13:40:00 19
powerpc64 7 14.0 2024/10/19 10:06:00 62 2024/10/19 16:33:00 58
mips 1 2.0 2024/10/19 09:54:00 35 2024/10/19 09:54:00 35
mipsel 1 2.0 2024/10/19 09:59:00 38 2024/10/19 09:59:00 38
aarch64 9 18.0 2024/10/19 09:57:00 26 2024/10/19 19:27:00 38
wasm32 6 12.0 2024/10/19 15:57:00 173 2024/10/19 19:09:00 195
sparc64 2 4.0 2024/10/19 10:46:00 141 2024/10/19 11:33:00 117
riscv64 2 4.0 2024/10/19 10:25:00 33 2024/10/19 11:10:00 26
linux 16 32.0 2024/10/19 09:40:00 209 2024/10/19 11:38:00 25
go32v2 3 6.0 2024/10/19 09:39:00 55 2024/10/19 11:13:00 63
solaris 8 16.0 2024/10/19 13:24:00 25 2024/10/19 13:40:00 19
darwin 8 16.0 2024/10/19 17:12:00 31 2024/10/19 19:27:00 38
aix 9 18.0 2024/10/19 10:06:00 62 2024/10/19 16:33:00 58
wasi 6 12.0 2024/10/19 15:57:00 173 2024/10/19 19:09:00 195
3.3.1 39 78.0 2024/10/19 09:39:00 55 2024/10/19 19:27:00 38
3.2.3 11 22.0 2024/10/19 10:06:00 62 2024/10/19 13:40:00 19

Source:

{ Source provided for Free Pascal Bug Report 3252 }
{ Submitted by "Tom Verhoeff" on  2004-08-16 }
{ e-mail: T.Verhoeff@tue.nl }
program ConstRange;
  { To demonstrate error with sqr in const expression }

const
  Max1 = 12; { program compiles fine when changing 12 to 11 }
  Max2 = Max1 * Max1; { this works fine }
  Max3 = sqr ( Max1 ); { this fails }

type
  Index = 0 .. Max3;

{ remainder not relevant, but included to have a complete program }

var
  i: Index;

begin
  i := 0
; writeln ( i )
end.

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