mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 11:08:02 +02:00
22 lines
257 B
ObjectPascal
22 lines
257 B
ObjectPascal
{ %cpu=wasm32 }
|
|
{ %fail }
|
|
|
|
program twasmexternref4f;
|
|
|
|
{$MODE objfpc}
|
|
|
|
procedure testproc(out p);
|
|
begin
|
|
end;
|
|
|
|
procedure testproc2;
|
|
var
|
|
q: WasmExternRef;
|
|
begin
|
|
{ WasmExternRef cannot be passed as an untyped out parameter }
|
|
testproc(q);
|
|
end;
|
|
|
|
begin
|
|
end.
|