summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1433496.js
blob: e7ea1d5d086bb049fd642131afbfe8e851114f9d (plain)
1
2
3
4
5
6
// |jit-test| --spectre-mitigations=on; skip-if: getBuildConfiguration()['mips32'] || getBuildConfiguration()['mips64'] || getBuildConfiguration()['riscv64']
function f() {
    return arguments[arguments.length];
}
for (var i = 0; i < 10; i++)
    assertEq(f(), undefined);