mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-27 19:33:43 +02:00
20 lines
251 B
ObjectPascal
20 lines
251 B
ObjectPascal
{ %cpu=wasm32 }
|
|
{ %fail }
|
|
|
|
program twasmexternref4e;
|
|
|
|
procedure testproc(constref p);
|
|
begin
|
|
end;
|
|
|
|
procedure testproc2;
|
|
var
|
|
q: WasmExternRef;
|
|
begin
|
|
{ WasmExternRef cannot be passed as an untyped constref parameter }
|
|
testproc(q);
|
|
end;
|
|
|
|
begin
|
|
end.
|