mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-16 22:11:28 +01:00
17 lines
224 B
ObjectPascal
17 lines
224 B
ObjectPascal
{ %cpu=wasm32 }
|
|
{ %fail }
|
|
|
|
program twasmexternref3a;
|
|
|
|
procedure testproc;
|
|
var
|
|
p: WasmExternRef;
|
|
q: Pointer;
|
|
begin
|
|
{ A pointer cannot be explicitly converted to WasmExternRef }
|
|
p := WasmExternRef(q);
|
|
end;
|
|
|
|
begin
|
|
end.
|