summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug1246607.js
blob: 1fbe9e52088ccdd2e5ff0e0ecae12d62d0ce17df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// |jit-test| skip-if: typeof oomTest !== 'function' || typeof Intl !== 'object'

oomTest(() => {
    try {
        new Intl.DateTimeFormat;
        x1 = 0;
    }  catch (e) {
        switch (1) {
            case 0:
                let s;
            case 1:
                x;
        }
    }
})