mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-20 14:31:27 +01:00
20 lines
241 B
ObjectPascal
20 lines
241 B
ObjectPascal
{ %cpu=wasm32 }
|
|
{ %fail }
|
|
|
|
program twasmexternref4c;
|
|
|
|
procedure testproc(var p);
|
|
begin
|
|
end;
|
|
|
|
procedure testproc2;
|
|
var
|
|
q: WasmExternRef;
|
|
begin
|
|
{ WasmExternRef cannot be passed as an untyped var parameter }
|
|
testproc(q);
|
|
end;
|
|
|
|
begin
|
|
end.
|