summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/function-tosource-exprbody-bug777834.js
blob: be5d60ccd55f8a98b850a5e3341b6c8773ce91a2 (plain)
1
2
3
4
5
load(libdir + "asserts.js");

assertThrowsInstanceOf(function () {
    eval("function f()((l()))++2s");
}, SyntaxError);