summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1433496.js
blob: 0298b877a5232b57190764c547d345bd890fb287 (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);