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

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