lexical-toplevel-redeclare-let-on-global.js revision 1115:a723569d0559
1323136Sdes/* 298675Sdes * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. 398675Sdes * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 498675Sdes * 598675Sdes * This code is free software; you can redistribute it and/or modify it 698675Sdes * under the terms of the GNU General Public License version 2 only, as 798675Sdes * published by the Free Software Foundation. 898675Sdes * 998675Sdes * This code is distributed in the hope that it will be useful, but WITHOUT 1098675Sdes * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1198675Sdes * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1298675Sdes * version 2 for more details (a copy is included in the LICENSE file that 1398675Sdes * accompanied this code). 1498675Sdes * 1598675Sdes * You should have received a copy of the GNU General Public License version 1698675Sdes * 2 along with this work; if not, write to the Free Software Foundation, 1798675Sdes * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1898675Sdes * 1998675Sdes * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2098675Sdes * or visit www.oracle.com if you need additional information or have any 2198675Sdes * questions. 2298675Sdes */ 2398675Sdes 2498675Sdes/** 2598675Sdes * JDK-8057691: Nashorn: let & const declarations are not shared between scripts 2698675Sdes * 2798675Sdes * @subtest 28162852Sdes */ 29162852Sdes 30248619Sdeslet GLOBAL = "LEXICAL GLOBAL"; 31162852Sdes