JDK-8017082.js revision 394:9396e42bae4f
157416Smarkm/* 257416Smarkm * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. 357416Smarkm * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 457416Smarkm * 557416Smarkm * This code is free software; you can redistribute it and/or modify it 657416Smarkm * under the terms of the GNU General Public License version 2 only, as 757416Smarkm * published by the Free Software Foundation. 857416Smarkm * 957416Smarkm * This code is distributed in the hope that it will be useful, but WITHOUT 1057416Smarkm * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1157416Smarkm * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1257416Smarkm * version 2 for more details (a copy is included in the LICENSE file that 1357416Smarkm * accompanied this code). 1457416Smarkm * 1557416Smarkm * You should have received a copy of the GNU General Public License version 1657416Smarkm * 2 along with this work; if not, write to the Free Software Foundation, 1757416Smarkm * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1857416Smarkm * 1957416Smarkm * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2057416Smarkm * or visit www.oracle.com if you need additional information or have any 2157416Smarkm * questions. 2257416Smarkm */ 2357416Smarkm 2457416Smarkm/** 2557416Smarkm * Long array literals were broken 2657416Smarkm * 2757416Smarkm * @test 2857416Smarkm * @run 2957416Smarkm */ 3057416Smarkmfunction f() { 3157416Smarkm var z= c>>e>>>0; 3257416Smarkm var x = [z]; 3357416Smarkm} 3457416Smarkm