summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug678087.js
blob: 05a2ad4a383ab0038ec690e84f70962903f6660a (plain)
1
2
3
4
5
6
7
8
9
10
11
load(libdir + "asserts.js");

assertThrowsInstanceOf(function () {
i = 0;
do {
with({
    TestCase: Float64Array
}) for each(let TestCase in [TestCase]) {}
 } while (i++ < 10);
function TestCase(n, d, e, a) {}
}, ReferenceError);