Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: test/mjsunit/es6/regress/regress-cr512574.js

Issue 1250513004: [es6] Make sure temporaries are not allocated in block scope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/regress/regress-cr512574.js
diff --git a/test/message/destructuring-modify-const.js b/test/mjsunit/es6/regress/regress-cr512574.js
similarity index 76%
copy from test/message/destructuring-modify-const.js
copy to test/mjsunit/es6/regress/regress-cr512574.js
index cabd924b37ea9f178259f4c979c3b3268920c713..2c10e193156550e1f23d35a070027054ba652eb8 100644
--- a/test/message/destructuring-modify-const.js
+++ b/test/mjsunit/es6/regress/regress-cr512574.js
@@ -3,7 +3,7 @@
// found in the LICENSE file.
// Flags: --harmony-destructuring
-'use strict';
-const { x : x, y : y } = { x : 1, y : 2 };
-x++;
+function f({}) {
+ for (var v in []);
+};
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698