Index: test/mjsunit/regress/regress-5736.js |
diff --git a/test/mjsunit/regress/regress-5736.js b/test/mjsunit/regress/regress-5736.js |
index 6dcc0de7f47edd7e8387a63897db02593b1727a9..cf934cc9080c356c61664b18fa36b288420583bd 100644 |
--- a/test/mjsunit/regress/regress-5736.js |
+++ b/test/mjsunit/regress/regress-5736.js |
@@ -21,3 +21,6 @@ assertEquals(2, my_global); |
my_global = foo;`); |
assertEquals(4, my_global); |
})(); |
+ |
+eval("let foo = 1; function lazy() { foo = 2; } lazy(); my_global = foo;"); |
+assertEquals(my_global, 2); |