Index: test/mjsunit/modules-skip-1.js |
diff --git a/test/message/for-of-throw-in-body.js b/test/mjsunit/modules-skip-1.js |
similarity index 56% |
copy from test/message/for-of-throw-in-body.js |
copy to test/mjsunit/modules-skip-1.js |
index 38b27f38632520e292f66b7ab451df00c2c03b68..35731806bb60d6c305d0cfdc14e6a75bb575adc1 100644 |
--- a/test/message/for-of-throw-in-body.js |
+++ b/test/mjsunit/modules-skip-1.js |
@@ -2,4 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-for (var x of [1, 2, 3]) { throw 42 } |
+export default 42; |
+export let a = 1; |
+export {a as b}; |
+export function set_a(x) { a = x }; |
+export function get_a() { return a }; |