fpc/tests/webtbs/tw12985.pp
2009-03-21 20:56:28 +00:00

18 lines
377 B
ObjectPascal

{ %norun }
{ if the compiler is still buggy and consumed the "calling stdcall" while
parsing the forward definition of test, it will complain about a calling
convention mismatch when parsing the actual definition
}
{$calling cdecl}
function test(l1,l2: longint): longint; forward;
{$calling stdcall}
function test(l1,l2: longint): longint; cdecl;
begin
end;
begin
end.