aboutsummaryrefslogtreecommitdiff
path: root/test/input
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-04-07 15:37:15 +0100
committerGitHub <noreply@github.com>2021-04-07 22:37:15 +0800
commita37ca558dd8d7f5243e061e216287793b9108911 (patch)
tree6870fa7c80ed55abc6a416c6a763633685bcaaa2 /test/input
parent73a564343b8231f2278c37c00c444b2cac8e314d (diff)
downloadtracifyjs-a37ca558dd8d7f5243e061e216287793b9108911.tar.gz
tracifyjs-a37ca558dd8d7f5243e061e216287793b9108911.zip
reject invalid `for await` syntax (#4847)
Diffstat (limited to 'test/input')
-rw-r--r--test/input/invalid/for-await.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/input/invalid/for-await.js b/test/input/invalid/for-await.js
new file mode 100644
index 00000000..13e07607
--- /dev/null
+++ b/test/input/invalid/for-await.js
@@ -0,0 +1 @@
+for await (; console.log(42););