1 // Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file 2 // for details. All rights reserved. Use of this source code is governed by a 3 // BSD-style license that can be found in the LICENSE file. 4 5 package returns; 6 7 public class Returns { 8 public static void main(String[] args) { 9 doubleJunk(); // Ignored to get pop2 10 longJunk(); 11 longFloat(); 12 } 13 14 private static double doubleJunk() { 15 return 42.42; 16 } 17 18 private static long longJunk() { 19 long billion5 = 5000000000L; 20 return billion5; 21 } 22 23 private static float longFloat() { 24 float foobar = 1.0F; 25 return foobar; 26 } 27 } 28