fpc/tests/test/tblock3b.pp
svenbarth 8111e92e1f * rework syntax for cblocks: now a cblock directive is required
* additionally implicit calling conventions of cdecl or mwpascal now work as well
* adjusted tests
+ added tests

Note: the generator for packages/univint needs to be fixed, until then building on macOS will be broken

git-svn-id: trunk@43684 -
2019-12-14 16:45:38 +00:00

17 lines
209 B
ObjectPascal

{ %FAIL }
{ %target=darwin,iphonesim}
{ %skipcpu=powerpc,powerpc64 }
program tblock3b;
{$mode objfpc}
{$modeswitch cblocks}
type
{$calling stdcall}
tblock = reference to procedure; cblock;
begin
end.