fpc/tests/test/wasm/twasmexternref3c.pp

17 lines
209 B
ObjectPascal

{ %cpu=wasm32 }
{ %fail }
program twasmexternref3c;
procedure testproc;
var
p: WasmExternRef;
q: Pointer;
begin
{ A pointer cannot be implicitly converted to WasmExternRef }
p := q;
end;
begin
end.