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 / tw16901.pp
Size: Mime:
{ %opt=-g-h }

program project1;
{$mode objfpc}{$H+}
uses
  SysUtils;

type
  TClassA = class(TInterfacedObject,IInterface)
  public
    constructor Create();
  end;

constructor TClassA.Create(); 
var
  x : IInterface;
begin
  x := Self;
end;

var
  y : IInterface;
begin
  HaltOnNotReleased := true;
  y := TClassA.Create();
end.