blob: 08c2d6ec35c410df3fdfd8690af81d7995dad00f [file] [log] [blame]
fpizlo@apple.com8bb40d7f2012-11-12 22:54:42 +00001description(
2"Tests what happens when you multiply a big unknown integer with a small known integer and detect that we have had an overflow."
3);
4
5function foo(a) {
6 return a * 65536;
7}
8
9for (var i = 0; i < 1000; ++i)
10 shouldBe("foo(2147483647)", "140737488289792");
11
12