summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug718850.js
blob: 7f3e281f8b31be99b3798fca9c16af78c556454a (plain)
1
2
3
4
5
6
7
8
9
10
// Don't abort during SSA construction.
function f() {
	var i = 0;
	while (i < 100 && 1 == 1) {
		i++;
	}
	return i;
}

assertEq(f(), 100);