summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/coverage/bug1304569-switch-case.js
blob: d243c7fddc1ad1049fb8d7be9326d44b798285df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test| --code-coverage

s = newGlobal()
evalcx("\
    switch (0) {\
        default: break;\
        case 1:\
                this.s += this.s;\
                g(h(\"\", 2));\
                break;\
                break\
    }\
", s)
evalcx("getLcovInfo()", s)