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 / test / uobjc35f.pp
Size: Mime:
{ Written by Jonas Maebe in 2010, released into the public domain }

{$mode objfpc}
{$modeswitch objectivec1}

unit uobjc35f;

interface

type
  MyExternalClass = objcclass external;

procedure test;

implementation

uses
  uobjc35e;

procedure test;
var
  a: MyExternalClass;
begin
  { the definition in uobjc35e should override the external definition
    from this unit }
  a:=MyExternalClass.alloc.init;
  if a.myTest<>1234 then
    halt(1);
  a.release;
end;

end.