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 / tb0126.pp
Size: Mime:
{ %fail }
{ This program should fail compilation, since
  the declaration is not the same as the actual
  implementation, checked against Delphi 3 -
  the class keyword is missing in front
  of procedure tmyclass.myproc
}
{$ifdef fpc}
{$mode delphi}
{$endif}
type
   tmyclass = class
    class procedure myproc;virtual;
   end;

   { missing class keyword in front of procedure }
   procedure tmyclass.myproc;
    begin
    end;


Begin
end.