summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug832197-2.js
blob: b4e4ca47a12b179b31fd9071f593c4868dfe03e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Don't assert.
try {
    var r = evalcx("new RegExp(\"\",\"\")", w);
    var s = "";
    (s.search(r))(x)
} catch (e) {}
    r = /()()()()/;
try {
    for (let x = 0; x < 3; ++x) {
        gc()
    }
} catch (e) {}
var w