comparison: js/src/jit-test/tests/jaeger/tableSwitchEmpty.js
js/src/jit-test/tests/jaeger/tableSwitchEmpty.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 |
|
2 function f(a) { |
|
3 switch(a) { |
|
4 } |
|
5 switch(a) { |
|
6 default: return 0; |
|
7 } |
|
8 assertEq(0, 1); |
|
9 } |
|
10 |
|
11 assertEq(f(), 0); |
|
12 assertEq(f(0), 0); |
|
13 assertEq(f(1.1), 0); |
|
14 |