summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug719231.js
blob: 0a803859c55b06d22582d42c6cfba99a3c56185c (plain)
1
2
3
4
5
6
7
8
9
10
// Don't abort in IonBuilder.
function f() {
	// For loop with missing condition.
	for (var y = 0; ; y++) {
		if (y == 55) break;
	}
	return y;
}

assertEq(f(), 55);