js/src/jit-test/tests/jaeger/bug554675-2.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:8c668d2bdfd4
1 function a(code) {
2 var f = new Function("for each(let x in[false,'',/x/,'',{}]){if(x<x){(({}))}else if(x){}else{}}");
3 try {
4 f()
5 } catch(e) {}
6 }
7 a()
8 a()
9
10 /* Don't crash (CLI only). */
11

mercurial