+ simple test for WasmExternRef

This commit is contained in:
Nikolay Nikolov 2023-06-11 03:35:25 +03:00
parent fa9873c6eb
commit 65b175cebd

View File

@ -0,0 +1,29 @@
{ %cpu=wasm32 }
{ %norun }
program twasmexternref1;
procedure testproc;
var
p: WasmExternRef;
begin
end;
procedure testproc2(q: WasmExternRef);
begin
end;
function testproc3: WasmExternRef;
begin
end;
function testproc4(a, b, c: longint; d: WasmExternRef; e: int64): WasmExternRef;
var
q: WasmExternRef;
begin
q := d;
testproc4 := q;
end;
begin
end.