mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-15 03:31:36 +01:00
15 lines
232 B
ObjectPascal
15 lines
232 B
ObjectPascal
{ %cpu=wasm32 }
|
|
{ %fail }
|
|
|
|
program twasmfuncref3;
|
|
|
|
type
|
|
TWasmFuncRef = function(a: longint; b: int64): longint; WasmFuncRef;
|
|
|
|
const
|
|
{ Cannot take the size of WebAssembly reference types }
|
|
Q = SizeOf(TWasmFuncRef);
|
|
|
|
begin
|
|
end.
|