summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug839315.js
blob: 88446a7d23e1203a5e7b1b16935d4532c1c87faa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
function f(x) {
    switch(x) {
      case 0:
      case 100:
    }
}
f("");
evaluate('f({})', { noScriptRval : true });

function g(x) {
    switch(x) {
      case 0.1:
      case 100:
    }
}

g(false);
evaluate('g({})', { noScriptRval : true });