summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug539379.js
blob: dab57f507ffdb11bef3faec543ed88219f7872e3 (plain)
1
2
3
4
5
6
7
8
9
try {
    // On X64 this was crashing rather than causing a "too much recursion" exception.
    x = /x/;
    (function f() {
        x.r = x;
        return f()
    })();
} catch (e) {}