summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug695922-syntax.js
blob: 599888080e10347147ac56d7bbec89620ac6a8fd (plain)
1
2
load(libdir + "asserts.js");
assertThrowsInstanceOf(function () { eval("({p:"); }, SyntaxError);  // don't crash