Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / tests / webtbs / tw3327.pp
Size: Mime:
{ Source provided for Free Pascal Bug Report 3327 }
{ Submitted by "Andreas Dorn" on  2004-09-21 }
{ e-mail: andreasd1@gmx.de }

Program BugReport;

Type Type1 = Record
               a: Word;
               b: LongWord;
     End;

Type Type2 = Record
               a: Word;
               b: LongWord;
               c: Array[0..1024] Of Char;
     End;

Type Type3 = Record
               a: Word;
               b: LongWord;
               c: Array[0..1024] Of LongWord;
     End;

Var One: Array [1..100000] Of Type1;
    Two: Type2;
    Three: Type3 absolute two;
    Four: Type1 absolute Three;
Begin;
  One[1].a:=12;
  Four := One[1];
  if Four.a<>12 then
    halt(1);
End.