Index: test/mjsunit/harmony/block-scoping-sloppy.js |
diff --git a/test/mjsunit/es6/block-scoping.js b/test/mjsunit/harmony/block-scoping-sloppy.js |
similarity index 98% |
copy from test/mjsunit/es6/block-scoping.js |
copy to test/mjsunit/harmony/block-scoping-sloppy.js |
index 5f481b8bf2ebb9f87d8bc78d0972aa3097a35937..19d1e9afa62ec4c896e5b07f4a9cdf7bb6af4865 100644 |
--- a/test/mjsunit/es6/block-scoping.js |
+++ b/test/mjsunit/harmony/block-scoping-sloppy.js |
@@ -25,11 +25,9 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --allow-natives-syntax |
+// Flags: --allow-natives-syntax --harmony-sloppy --no-legacy-const |
// Test functionality of block scopes. |
-"use strict"; |
- |
// Hoisting of var declarations. |
function f1() { |
{ |