summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1646302.js
blob: bf86fe702ca1ca1673ef3ed53aa10b49a4d021b4 (plain)
1
2
3
4
5
6
7
8
9
function f(x) {
  function fnc() {}
  fnc.prototype = 3;
  new fnc;
  if (x < 50) {
    new new.target(x + 1);
  }
}
new f(0);