diff options
Diffstat (limited to 'src/declarations/redeclare/switch-attempt-to-redeclare-async-function-declaration.template')
-rw-r--r-- | src/declarations/redeclare/switch-attempt-to-redeclare-async-function-declaration.template | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarations/redeclare/switch-attempt-to-redeclare-async-function-declaration.template b/src/declarations/redeclare/switch-attempt-to-redeclare-async-function-declaration.template index 40a2bf41e..f8a67ab1f 100644 --- a/src/declarations/redeclare/switch-attempt-to-redeclare-async-function-declaration.template +++ b/src/declarations/redeclare/switch-attempt-to-redeclare-async-function-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-functions] ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: async function f() {} default: /*{ body }*/ } |