aboutsummaryrefslogtreecommitdiff
path: root/test/input/invalid/for-of_1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/input/invalid/for-of_1.js')
-rw-r--r--test/input/invalid/for-of_1.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/input/invalid/for-of_1.js b/test/input/invalid/for-of_1.js
new file mode 100644
index 00000000..7d4ffe25
--- /dev/null
+++ b/test/input/invalid/for-of_1.js
@@ -0,0 +1,3 @@
+var a = [ 1 ], b;
+for (b = 2 of a)
+ console.log(b);