Index: test/mjsunit/harmony/do-expressions.js |
diff --git a/test/mjsunit/harmony/do-expressions.js b/test/mjsunit/harmony/do-expressions.js |
index a2c014cbc6f523e7bbba07a2bc5323fa548cd8a7..c3f9e0cd86ae9f458867332e2d5e545cac6cadef 100644 |
--- a/test/mjsunit/harmony/do-expressions.js |
+++ b/test/mjsunit/harmony/do-expressions.js |
@@ -4,6 +4,7 @@ |
// Flags: --harmony-do-expressions --harmony-sloppy-let --allow-natives-syntax |
// Flags: --harmony-default-parameters --harmony-destructuring |
+// Flags: --harmony-completion |
function returnValue(v) { return v; } |
function MyError() {} |
@@ -167,7 +168,10 @@ function TestInParameterInitializers() { |
function fn2(items = do { |
let items = []; |
for (var el of _items) { |
- if (el !== el) break; |
+ if (el !== el) { |
+ items; |
+ break; |
+ } |
items.push(el), items; |
} |
}) { |