| 1 |
// Copyright (C) 2016 the V8 project authors. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
/*--- |
| 4 |
path: annexB/language/function-code/block-decl- |
| 5 |
name: Block statement in function scope containing a function declaration |
| 6 |
esid: sec-web-compat-functiondeclarationinstantiation |
| 7 |
es6id: B.3.3.1 |
| 8 |
flags: [noStrict] |
| 9 |
---*/ |
| 10 |
|
| 11 |
(function(/*{ params }*/) { |
| 12 |
/*{ before }*/ |
| 13 |
|
| 14 |
{ |
| 15 |
function f() { /*{ body }*/ } |
| 16 |
} |
| 17 |
|
| 18 |
/*{ after }*/ |
| 19 |
}(/*{ args }*/)); |