Index: test/mjsunit/harmony/block-for-sloppy.js |
diff --git a/test/mjsunit/es6/block-for.js b/test/mjsunit/harmony/block-for-sloppy.js |
similarity index 99% |
copy from test/mjsunit/es6/block-for.js |
copy to test/mjsunit/harmony/block-for-sloppy.js |
index 420c41e610cce619cdfd7e5a549b2d680979a52b..374c450fa08de4b24d2745c8dcc06f9f2529c38d 100644 |
--- a/test/mjsunit/es6/block-for.js |
+++ b/test/mjsunit/harmony/block-for-sloppy.js |
@@ -24,7 +24,8 @@ |
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
// (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 |
function props(x) { |
var array = []; |