summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/let-tdz.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/modules/let-tdz.js')
-rw-r--r--js/src/jit-test/tests/modules/let-tdz.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/modules/let-tdz.js b/js/src/jit-test/tests/modules/let-tdz.js
new file mode 100644
index 000000000..b42679434
--- /dev/null
+++ b/js/src/jit-test/tests/modules/let-tdz.js
@@ -0,0 +1,3 @@
+// |jit-test| module; error:ReferenceError
+foo = 1;
+let foo;