aboutsummaryrefslogtreecommitdiff
path: root/test/input/invalid/const.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/input/invalid/const.js')
-rw-r--r--test/input/invalid/const.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/input/invalid/const.js b/test/input/invalid/const.js
new file mode 100644
index 00000000..7a2bfd3d
--- /dev/null
+++ b/test/input/invalid/const.js
@@ -0,0 +1,8 @@
+function f() {
+ const a;
+}
+
+function g() {
+ "use strict";
+ const a;
+}