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 / tbf / tb0139.pp
Size: Mime:
{%fail}
{
  This program should fail compilation since the high()
  parameter cannot be used in a cdecl'ed function using
  array of const, it uses the exact calling conventions
  as a C compiler, and the length is not passed!
}

  procedure proc_const_smallarray_const_2(const arr : array of const);cdecl;
  var
   i: integer;
  begin
     if high(arr)<0 then
       WriteLn('hello world!');
  end;


Begin
end.