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.0.0 / tests / webtbs / tw16366.pp
Size: Mime:
{ %target=darwin }
{ %cpu=powerpc,powerpc64,i386,x86_64,arm }

{$mode objfpc}
{$modeswitch objectivec1}

type
  ta = array of nsobject;
var
  a: ta;
  i: longint;
begin
  setlength(a,5);
  for i := low(a) to high(a) do
    begin
      if a[i]<>nil then
        halt(1);
      { crash if the rtl tries to "finalise" the nsobject elements }
      a[i]:=nsobject(i*10000+12345);
    end;
end.