Index: test/mjsunit/harmony/block-leave-sloppy.js |
diff --git a/test/mjsunit/es6/block-leave.js b/test/mjsunit/harmony/block-leave-sloppy.js |
similarity index 98% |
copy from test/mjsunit/es6/block-leave.js |
copy to test/mjsunit/harmony/block-leave-sloppy.js |
index 338631b76e0c63020b3892664da5fe788900165a..23e9fa16edd7503415a72ac6ab15ab1fccf4dd17 100644 |
--- a/test/mjsunit/es6/block-leave.js |
+++ b/test/mjsunit/harmony/block-leave-sloppy.js |
@@ -25,7 +25,7 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-"use strict"; |
+// Flags: --no-legacy-const --harmony-sloppy |
// We want to test the context chain shape. In each of the tests cases |
// below, the outer with is to force a runtime lookup of the identifier 'x' |
@@ -175,7 +175,7 @@ try { |
// Verify that the context is correctly set in the stack frame after exiting |
-// from with. |
+// from eval. |
function f() {} |
(function(x) { |