Mads Ager | 418d1ca | 2017-05-22 09:35:49 +0200 | [diff] [blame] | 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 | public class Test { |
| 6 | public int b(int i, String s) { |
| 7 | throw new RuntimeException("b(ILjava/lang/String;)"); |
| 8 | } |
| 9 | |
| 10 | public int b(Test t) { |
| 11 | throw new RuntimeException("b(LTest;)"); |
| 12 | } |
| 13 | |
| 14 | public static int f(int i0, int i1) { |
| 15 | throw new RuntimeException("f(II)"); |
| 16 | } |
| 17 | |
| 18 | public static void main(String[] args) { |
| 19 | try { |
| 20 | new TestObject().method(); |
| 21 | } catch (Exception e) { |
| 22 | System.out.println(e); |
| 23 | } |
| 24 | } |
| 25 | } |