BC_ldc_05.java revision 12657:6ef01bd40ce2
1140086Sdas/*
2140086Sdas * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
3140086Sdas * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4140086Sdas *
5140086Sdas * This code is free software; you can redistribute it and/or modify it
6140086Sdas * under the terms of the GNU General Public License version 2 only, as
7140086Sdas * published by the Free Software Foundation.
8140086Sdas *
9140086Sdas * This code is distributed in the hope that it will be useful, but WITHOUT
10140086Sdas * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11140086Sdas * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12140086Sdas * version 2 for more details (a copy is included in the LICENSE file that
13140086Sdas * accompanied this code).
14140086Sdas *
15140086Sdas * You should have received a copy of the GNU General Public License version
16140086Sdas * 2 along with this work; if not, write to the Free Software Foundation,
17140086Sdas * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18140086Sdas *
19140086Sdas * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20140086Sdas * or visit www.oracle.com if you need additional information or have any
21140086Sdas * questions.
22140086Sdas */
23140086Sdas/*
24140086Sdas * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
25140086Sdas */
26140086Sdaspackage org.graalvm.compiler.jtt.bytecode;
27140086Sdas
28140086Sdasimport org.junit.Test;
29140086Sdas
30140086Sdasimport org.graalvm.compiler.jtt.JTTTest;
31140086Sdas
32140086Sdas/*
33140086Sdas */
34140086Sdaspublic class BC_ldc_05 extends JTTTest {
35140086Sdas
36140086Sdas    public static double test() {
37192760Sattilio        return -2.33d;
38217108Skib    }
39217108Skib
40    @Test
41    public void run0() throws Throwable {
42        runTest("test");
43    }
44
45}
46