summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1825220.js
blob: 11da1ef44912693963243bd8b98f57cf9cfe0ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| --ion-pruning=off; --fast-warmup

function foo() {
    Date.prototype.toLocaleString()
}

for (var i = 0; i < 100; i++) {
    try {
	foo();
    } catch {}
}