Browse Source

* disallow WebAssembly reference types to be declared as var, constref or out parameters

Nikolay Nikolov 2 years ago
parent
commit
e57bd03644
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/test/wasm/twasmexternref1.pp

+ 4 - 0
tests/test/wasm/twasmexternref1.pp

@@ -57,6 +57,10 @@ procedure testproc7(const q: WasmExternRef);
 begin
 end;
 
+procedure testproc7(const q: WasmExternRef);
+begin
+end;
+
 begin
   testproc5(nil);
   testproc5(global_externref);