summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug592973-1.js
blob: d3bafac623dbb08c17ec865ef9e4ac55f875da2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(x) {
    if (x) {
        let y;
        y = 12;
        (function () {
          assertEq(y, 12);
        })();
    }
}
f(1);