summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/regress/regress-530879.js
blob: 79cc1b985bed4f6b4f80cfb00ec257d74fbf31f6 (plain)
1
2
3
4
5
6
7
8
9
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 * Contributor: Jason Orendorff
 */
function* f(a, b, c, d) {
    yield arguments.length;
}
reportCompare(0, f().next().value, "bug 530879");