summaryrefslogtreecommitdiff
path: root/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-generator-declaration.template
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-generator-declaration.template')
-rw-r--r--src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-generator-declaration.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-generator-declaration.template b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-generator-declaration.template
index 039476cbd..cf14e0f29 100644
--- a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-generator-declaration.template
+++ b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-generator-declaration.template
@@ -13,6 +13,7 @@ info: |
negative:
phase: early
type: SyntaxError
+features: [generators]
---*/
throw "Test262: This statement should not be evaluated.";