summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug854137.js
blob: d1f6b69764ef47618956c3775d0728a932797755 (plain)
1
2
3
4
5
6
// Don't assert.
try {
    eval("function x(y = {\
        x: (7) ? 0 : yield(0)\
    }");
} catch (e) {}