mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 03:19:27 +02:00
15 lines
270 B
ObjectPascal
15 lines
270 B
ObjectPascal
{ %cpu=wasm32 }
|
|
{ %fail }
|
|
|
|
program twasmfuncref2;
|
|
|
|
type
|
|
TWasmFuncRef = function(a: longint; b: int64): longint; WasmFuncRef;
|
|
TRec = record
|
|
{ WebAssembly reference types cannot be used inside records, objects, or classes }
|
|
q: TWasmFuncRef;
|
|
end;
|
|
|
|
begin
|
|
end.
|