summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug827821-3.js
blob: b6779467a48ba089ffaa7227bec26b5966b37075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| error: TypeError
function TestCase(n, d, e, a) {}
function reportCompare (expected, actual, description) {
  var testcase = new TestCase();
}
eval("(function() { \
var summary = 'Do not hang/crash |for each| over object with getter set to map';\
var actual = 'No Crash';\
var expect = 'No Crash';\
reportCompare(expect, actual, summary);\
})();");
eval("(function() { TestCase = Object.prototype.toString; })();");
eval("gc(); reportCompare();");