// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- path: annexB/language/eval-code/direct/global-block-decl- name: Block statement in eval code containing a function declaration esid: sec-web-compat-evaldeclarationinstantiation es6id: B.3.3.3 flags: [noStrict] ---*/ eval( '/*{ before }*/{ function f() { /*{ body }*/ } }/*{ after }*/' );