summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testUndemoteLateGlobalSlots.js
blob: 27d98a37e6e5aeb375730f2e6279b34a82cc258b (plain)
1
2
3
4
5
6
7
8
9
10
11
function testUndemoteLateGlobalSlots() {
    for each (aaa in ["", "", 0/0, ""]) {
        ++aaa;
        for each (bbb in [0, "", aaa, "", 0, "", 0/0]) {
        }
    }
    delete aaa;
    delete bbb;
    return "ok";
}
assertEq(testUndemoteLateGlobalSlots(), "ok");