mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 06:28:55 +02: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.
|