mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 08:48:08 +02: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.
|