summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/collections/bug-1866636.js
blob: b535ecd2f6fc32777056f92862e50a9bee16bd7b (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| --enable-symbols-as-weakmap-keys; skip-if: getBuildConfiguration("release_or_beta")
b = new WeakMap();
c = Symbol();
b.set(c);
c = gczeal(10);
for (i=0; i<1000; ++i) {
    try {
        x;
    } catch {}
}