summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/oom-wasmtexttobinary-block.js
blob: 6f3b666873a7291c82ec9a623849e61029b67aa9 (plain)
1
2
3
4
5
6
7
// |jit-test| skip-if: !('oomTest' in this)

try {
    oomTest((function () {
        wasmTextToBinary("(module(func(loop $label1 $label0)))");
    }));
} catch(e) { }