diff options
Diffstat (limited to 'cli/tests/wasm_shared.ts')
-rw-r--r-- | cli/tests/wasm_shared.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/wasm_shared.ts b/cli/tests/wasm_shared.ts new file mode 100644 index 000000000..b713385d5 --- /dev/null +++ b/cli/tests/wasm_shared.ts @@ -0,0 +1,6 @@ +const memory = new WebAssembly.Memory({ + initial: 1, + maximum: 10, + shared: true, +}); +console.assert(memory.buffer instanceof SharedArrayBuffer); |