summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug767665.js
blob: 01b378ff5cb43c9763436362a6e2cd26a53f8e60 (plain)
1
2
3
4
5
6
7
8
9
10
11
var failures = 0;
function a() {
	return new Array(-1);
}
for (var j = 0; j < 61; ++j) {
	try {
		a();
		++failures;
	} catch (e) {
	}
}