fpc/tests/webtbs/tw7963.pp
Jonas Maebe 38d54234d7 * fixed crash when calling a procvar with too many parameters
(mantis 8109)

git-svn-id: trunk@5951 -
2007-01-13 18:38:04 +00:00

17 lines
200 B
ObjectPascal

{ %fail }
program fpcbug;
{$mode objfpc}
type
TCallback = function(const a, b, c: pointer): integer; stdcall;
var
Proc: TCallback;
a,b: Pointer;
begin
Proc(a, b);
Proc(a, b, a, b);
end.