blob: 75ac7e52059a378dc3130f3e558635505b3bf758 [file] [log] [blame]
description(
"Tests that storing the result of a uint32 to number conversion into a captured variable does not crash the compiler."
);
function foo(a) {
var x = a >>> 0;
return (function() {
return x;
});
}
for (var i = 0; i < 100; ++i)
shouldBe("foo(" + i + ")()", "" + i);