mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-04 09:54:48 +01:00
17 lines
189 B
ObjectPascal
17 lines
189 B
ObjectPascal
{ %cpu=wasm32 }
|
|
{ %fail }
|
|
|
|
program twasmexternref2;
|
|
|
|
procedure testproc;
|
|
var
|
|
p: WasmExternRef;
|
|
q: Pointer;
|
|
begin
|
|
{ WasmExternRef cannot be address taken }
|
|
q := @p;
|
|
end;
|
|
|
|
begin
|
|
end.
|