mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-14 22:02:56 +01:00
19 lines
285 B
ObjectPascal
19 lines
285 B
ObjectPascal
{ %cpu=wasm32 }
|
|
{ %fail }
|
|
|
|
program twasmfuncref3b;
|
|
|
|
type
|
|
TWasmFuncRef = function(a: longint; b: int64): longint; WasmFuncRef;
|
|
|
|
procedure test(para: TWasmFuncRef);
|
|
var
|
|
a: longint;
|
|
begin
|
|
{ Cannot take the size of WebAssembly reference types }
|
|
a := SizeOf(para);
|
|
end;
|
|
|
|
begin
|
|
end.
|