comparison: js/src/jit-test/tests/basic/testConstSwitch2.js
js/src/jit-test/tests/basic/testConstSwitch2.js
- changeset 0
- 6474c204b198
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"); |