aboutsummaryrefslogtreecommitdiff
path: root/test/script/basic/es6/const-redeclare.js.EXPECTED
diff options
context:
space:
mode:
Diffstat (limited to 'test/script/basic/es6/const-redeclare.js.EXPECTED')
-rw-r--r--test/script/basic/es6/const-redeclare.js.EXPECTED3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/script/basic/es6/const-redeclare.js.EXPECTED b/test/script/basic/es6/const-redeclare.js.EXPECTED
new file mode 100644
index 00000000..44b6a70f
--- /dev/null
+++ b/test/script/basic/es6/const-redeclare.js.EXPECTED
@@ -0,0 +1,3 @@
+SyntaxError: test/script/basic/es6/const-redeclare.js#33:4<eval>:2:6 Variable "x" has already been declared
+const x = 2;
+ ^