summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/gc/bug-1841119.js
blob: 42c20c4e91deb86eca40240c456925a913f0a59e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// |jit-test| --fuzzing-safe; --ion-offthread-compile=off; skip-if: !wasmGcEnabled()

function f() {
}

gczeal(9,10);

let t = wasmEvalText(`
(module
  (type (struct))
  (table (export "table") (ref null 0)
    (elem ( ref.null 0 ))
  )
  (global (export "global") (ref null 0) ref.null 0)
  (tag (export "tag") (param (ref null 0)))
)`).exports;

f();