summaryrefslogtreecommitdiff
path: root/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-function-declaration.template
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-function-declaration.template')
-rw-r--r--src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-function-declaration.template2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-function-declaration.template b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-function-declaration.template
index 2a5c0f3e3..a0e90feb3 100644
--- a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-function-declaration.template
+++ b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-function-declaration.template
@@ -16,4 +16,6 @@ negative:
features: [async-functions]
---*/
+throw "Test262: This statement should not be evaluated.";
+
{ async function f() {} /*{ body }*/ }