comparison: js/src/jit-test/tests/basic/testConstSwitch2.js
js/src/jit-test/tests/basic/testConstSwitch2.js
- branch
- TOR_BUG_3246
- changeset 7
- 129ffea94266
equal
deleted
inserted
replaced
|
1 function testConstSwitch2() { |
|
2 var x; |
|
3 for (var j = 0; j < 4; ++j) { switch(0/0) { } } |
|
4 return "ok"; |
|
5 } |
|
6 assertEq(testConstSwitch2(), "ok"); |