fpc/tests/webtbs/tw11852.pp
Jonas Maebe 6697f173b6 * the fact that a procedure is local does not mean that it by definition
does not need a GOT pointer (mantis #11852)

git-svn-id: trunk@11586 -
2008-08-16 08:12:23 +00:00

29 lines
391 B
ObjectPascal

unit tw11852;
interface
function _hc_test( inp: integer ): integer; CDecl;
implementation
uses
Classes, Types, SysUtils;
function _hc_test( inp: integer ): integer; CDecl;
begin
_hc_test := inp;
end;
procedure __func; local;
begin
WriteLn( 'local function' );
end;
initialization
__func;
end.
//= END OF FILE ===============================================================