Test suite results for test file webtbf/tw1782.pp

Test run data :

Run ID:
Operating system: haiku
Processor: i386
Version: 3.2.3
Fails/OK/Total: 47/8143/8190
Version: 3.2.3
Full version: 3.2.3
Comment: -gl -Fd
Machine: shredder
Category: 1
SVN revisions: 2c23160571:655352f0e9:82c57e2deb:355d1f87a2
Submitter: pierre
Date: 2023/10/27 20:45:00 <> 2023/10/04
Previous run: 805020
Next run: 848970

Hide skipped tests

Hide successful tests

Test file "webtbf/tw1782.pp" information:

t_id 1100
t_adddate 2003/10/14
t_result 0
Flag t_fail set
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
-90520173847485TrueFalseSuccess, compilation failed

Record count: 1

No log of 847485.

Source:

{ %fail }

{ Source provided for Free Pascal Bug Report 1782 }
{ Submitted by "Aleksey V. Vaneev" on  2002-01-27 }
{ e-mail: picoder@sbis.komi.ru }

{$mode objfpc}

type
        PStruct = ^TStruct;
        TStruct =
                packed record
                        i: LongInt;
                end;

        TCls = class
                protected
                        Fv: array [1..10] of TStruct;

                        function getv (i: LongInt): TStruct;

                public
                        property v [i: LongInt]: TStruct read getv;
                end;

function TCls.getv (i: LongInt): TStruct;
begin
        Result := Fv [i];
end;

var
        sp: PStruct;
        o: TCls;

begin
        o := TCls.create;
        { Should fail with 'variable expected' }
        sp := @o.v [10];
end.

Link to SVN view of webtbf/tw1782.pp source.