AddExactLConstantTest.java revision 11707:ad7af1afda7a
1238106Sdes/* 2238106Sdes * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. 3238106Sdes * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4238106Sdes * 5238106Sdes * This code is free software; you can redistribute it and/or modify it 6238106Sdes * under the terms of the GNU General Public License version 2 only, as 7238106Sdes * published by the Free Software Foundation. 8238106Sdes * 9238106Sdes * This code is distributed in the hope that it will be useful, but WITHOUT 10238106Sdes * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11238106Sdes * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12238106Sdes * version 2 for more details (a copy is included in the LICENSE file that 13238106Sdes * accompanied this code). 14238106Sdes * 15238106Sdes * You should have received a copy of the GNU General Public License version 16238106Sdes * 2 along with this work; if not, write to the Free Software Foundation, 17238106Sdes * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18238106Sdes * 19238106Sdes * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20238106Sdes * or visit www.oracle.com if you need additional information or have any 21238106Sdes * questions. 22238106Sdes */ 23238106Sdes 24238106Sdes/* 25238106Sdes * @test 26238106Sdes * @bug 8026844 27238106Sdes * @summary Test constant addExact 28238106Sdes * @library /testlibrary / 29238106Sdes * @modules java.base/jdk.internal.misc 30238106Sdes * java.management 31238106Sdes * 32238106Sdes * @run main compiler.intrinsics.mathexact.AddExactLConstantTest 33238106Sdes */ 34238106Sdes 35238106Sdespackage compiler.intrinsics.mathexact; 36238106Sdes 37238106Sdespublic class AddExactLConstantTest { 38238106Sdes public static void main(String[] args) { 39238106Sdes Verify.ConstantLongTest.verify(new Verify.AddExactL()); 40238106Sdes } 41238106Sdes} 42238106Sdes