summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1298354.js
blob: 73502df5a791db6151e1fcc64094422a77ced00d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// |jit-test| error: ReferenceError

new Function(`
  while (true) {
    try {
        var buf = new Uint8ClampedArray(a);
    } catch (e) {
        break;
    }
  }
  var caughtInvalidArguments = false;
  while (true) {
    var a = inIon() ? -true.get : 0;
    while (x > 7 & 0) {}
  }
`)();