summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug780842.js
blob: 16a480a0b60b242af2695234e34e534709b01b15 (plain)
1
2
3
4
5
6
7
8
// |jit-test| --ion-eager;error:TypeError

function testUKeyUObject(a, key1, key2, key3) {
    assertEq(a[-1](), "hi");
}
for (var i = 0; i < 5; i++) {
    testUKeyUObject({}, "a", "b", "c");
}