summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/bug-1833339.js
blob: fb99428f88d8d742c90c85a5be91734c8a26ff5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
let {a} = wasmEvalText(`(module
  (tag (param ${'i32 '.repeat(10)}))

  (func (result ${'i32 '.repeat(130)})
    unreachable
  )
  (func (export "a")
    call 0
	try
	catch 0
		unreachable
	end
    unreachable
  )
)
`).exports;
assertErrorMessage(a, WebAssembly.RuntimeError, /unreachable/);