summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug662082.js
blob: 533fee8ba3f315ed58670f869c8b0a01515ca41c (plain)
1
2
3
4
5
6
7
8
9
10
11

function foo(z)
{
  var x = 2;
  if (z) {
    x = 2.5;
  }
  var y = x * 10;
  assertEq(y, 20);
}
foo(false);