mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 11:08:15 +02:00
20 lines
245 B
ObjectPascal
20 lines
245 B
ObjectPascal
{ %cpu=wasm32 }
|
|
{ %fail }
|
|
|
|
program twasmexternref4d;
|
|
|
|
procedure testproc(const p);
|
|
begin
|
|
end;
|
|
|
|
procedure testproc2;
|
|
var
|
|
q: WasmExternRef;
|
|
begin
|
|
{ WasmExternRef cannot be passed as an untyped const parameter }
|
|
testproc(q);
|
|
end;
|
|
|
|
begin
|
|
end.
|