| 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..be840eea6f0922d4657f30708bd930eaec8dccf4 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() {
|
| {
|
| @@ -85,7 +83,6 @@ f3(1);
|
| assertTrue(%GetOptimizationStatus(f3) != 2);
|
|
|
|
|
| -
|
| // Dynamic lookup from closure.
|
| function f4(one) {
|
| var x = one + 1;
|
|
|