diff options
Diffstat (limited to 'src/declarations/redeclare-allow-var/block-attempt-to-redeclare-generator-declaration.template')
-rw-r--r-- | src/declarations/redeclare-allow-var/block-attempt-to-redeclare-generator-declaration.template | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-generator-declaration.template b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-generator-declaration.template index f4a49b40c..91ab5086f 100644 --- a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-generator-declaration.template +++ b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-generator-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { function* f() {} /*{ body }*/ } |