Bug 1224710 - Add test for fuzz bug fixed by bug 1223355 r=bbouvier
authorJon Coppeard <jcoppeard@mozilla.com>
Wed, 18 Nov 2015 16:07:18 +0000
changeset 310821 b3a2844b756962a24146baaa68161df6a3c4d27d
parent 310820 0a10dcc01c2e4a41e82197e13a5129eb65eeac6d
child 310822 1fdfc96fd7bf3fbf65a62993ac1268148dcaa2cd
push id7801
push userrocallahan@mozilla.com
push dateTue, 24 Nov 2015 03:39:14 +0000
reviewersbbouvier
bugs1224710, 1223355
milestone45.0a1
Bug 1224710 - Add test for fuzz bug fixed by bug 1223355 r=bbouvier
js/src/jit-test/tests/gc/bug-1224710.js
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/gc/bug-1224710.js
@@ -0,0 +1,14 @@
+if (!('oomTest' in this))
+    quit();
+
+oomTest(function() {
+    eval("\
+	function g() {\
+	    \"use asm\";\
+	    function f(d) {\
+		d = +d;\
+		print(.0 + d);\
+	    }\
+	}\
+    ")
+})