t_id
1021
t_adddate
2003/10/14
t_result
0
Flag
t_fail
set
t_knownrunerror
0
Record count: 50
Total = 50
OK=50 Percentage= 100.00
Result type | Cat. | Count | Percentage | First date | Last Date |
Success, compilation failed | 50 | 100.0 | 2024/09/26 18:42:00 90 | 2024/09/26 23:02:00 44 | |
i386 | 4 | 8.0 | 2024/09/26 19:54:00 70 | 2024/09/26 22:38:00 79 | |
powerpc | 14 | 28.0 | 2024/09/26 19:41:00 35 | 2024/09/26 23:02:00 44 | |
powerpc64 | 17 | 34.0 | 2024/09/26 18:42:00 90 | 2024/09/26 22:29:00 103 | |
wasm32 | 7 | 14.0 | 2024/09/26 19:31:00 339 | 2024/09/26 22:50:00 299 | |
riscv64 | 8 | 16.0 | 2024/09/26 19:14:00 123 | 2024/09/26 19:59:00 123 | |
linux | 39 | 78.0 | 2024/09/26 18:42:00 90 | 2024/09/26 23:02:00 44 | |
go32v2 | 4 | 8.0 | 2024/09/26 19:54:00 70 | 2024/09/26 22:38:00 79 | |
wasi | 7 | 14.0 | 2024/09/26 19:31:00 339 | 2024/09/26 22:50:00 299 | |
3.3.1 | 34 | 68.0 | 2024/09/26 18:42:00 90 | 2024/09/26 22:50:00 299 | |
3.2.3 | 16 | 32.0 | 2024/09/26 21:17:00 71 | 2024/09/26 23:02:00 44 |
{ %FAIL } { this compilation should fail because an ansitring should not be allowed as equivalent to a normal short string for procvars PM } {$mode fpc} {$H-} uses strings; Type type_error_proc = procedure (Const St : String); Const error_proc : type_error_proc = nil; has_errors : boolean = false; var st : string; ast : ansistring; pst : pchar; procedure string_error_proc(const err : string); begin {$ifdef DEBUG} writeln('String error proc: ',err); {$endif DEBUG} if err<>st then has_errors:=true; end; procedure ansistring_error_proc(const err : ansistring); begin {$ifdef DEBUG} writeln('Ansistring error proc: ',err); {$endif DEBUG} if err<>ast then has_errors:=true; end; procedure pchar_error_proc(const err : pchar); begin {$ifdef DEBUG} writeln('Pchar error proc: ',err); {$endif DEBUG} if strcomp(err,pst)<>0 then has_errors:=true; end; begin st:='direct short string'; string_error_proc(st); ast:='direct ansistring'; ansistring_error_proc(ast); pst:='direct short string'; pchar_error_proc(pst); error_proc:=@string_error_proc; st:='short string via procvar'; error_proc(st); error_proc:=@ansistring_error_proc; ast:='ansistring via procvar'; error_proc(ast); error_proc:=@pchar_error_proc; pst:='pchar via procvar'; error_proc(pst); if has_errors then begin Writeln('Wrong code is generated'); halt(1); end; end.