summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug691595.js
blob: d62ee7cc76b1260f5358fbf5173a221c782899e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// |jit-test| error:ReferenceError

// Binary: cache/js-dbg-64-acf3c1fb7c94-linux
// Flags: --ion-eager
//

function k(f_arg) {
  for (var i = 0; i < 10; ++i) {
    f_arg(  ) ;
  }
}
function t() {
  k(function (i) { actual ^ this | this; });
}
var ans = 0;
for (var j = 0; j < 10; ++j) {
  for (var i = 0; i < 10; ++i) {
    ans += t();
  }
}