summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/regress/regress-624547.js
blob: 659b64750eb20237ed104cc4fbf0e8e066c1c5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 */

function f(x) {
    delete arguments[0];
    for(var i=0; i<20; i++) {
        arguments[0] !== undefined;
    }
}

/* Don't crash. */
f(1);

reportCompare(0, 0, "ok");