mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 18:47:52 +02:00
15 lines
236 B
ObjectPascal
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.
|