fpc/tests/test/wasm/twasmfuncref3a.pp

15 lines
236 B
ObjectPascal

{ %cpu=wasm32 }
{ %fail }
program twasmfuncref3a;
type
TWasmFuncRef = function(a: longint; b: int64): longint; WasmFuncRef;
const
{ Cannot take the size of WebAssembly reference types }
Q = BitSizeOf(TWasmFuncRef);
begin
end.