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 / uw15909.pp
Size: Mime:
unit uw15909;
{$mode Delphi}

{$inline on}

interface

    procedure foo(const s: widestring; const n: integer); inline;

    function bar(const s, fmt: widestring): integer;

implementation

procedure foo(const s: widestring; const n: integer);
begin
    bar(s, '%d')
end;


    function bar(const s, fmt: widestring): integer;
      begin
        if (s<>'abc') or
           (fmt<>'%d') then
          begin
            writeln('"',s,'"');
            halt(1);
          end;
        result:=0;
      end;

end.