summaryrefslogtreecommitdiff
path: root/test/language/module-code/early-dup-export-dflt-id.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/language/module-code/early-dup-export-dflt-id.js')
-rw-r--r--test/language/module-code/early-dup-export-dflt-id.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/language/module-code/early-dup-export-dflt-id.js b/test/language/module-code/early-dup-export-dflt-id.js
index 930d37b73..06bec7227 100644
--- a/test/language/module-code/early-dup-export-dflt-id.js
+++ b/test/language/module-code/early-dup-export-dflt-id.js
@@ -12,6 +12,8 @@ negative:
type: SyntaxError
---*/
+throw "Test262: This statement should not be evaluated.";
+
var x, y;
export default x;
export { y as default };