mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 21:11:45 +02:00
17 lines
200 B
ObjectPascal
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.
|