mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-04 11:34:49 +01: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.
|