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 | package throwing; |
| 5 | |
| 6 | import java.util.List; |
| 7 | |
| 8 | public abstract class Overloaded { |
| 9 | |
| 10 | public int aMethod(int x) { |
| 11 | return 0; |
| 12 | } |
| 13 | |
| 14 | public int conflictingMethod(int x) { |
| 15 | return 0; |
| 16 | } |
| 17 | |
| 18 | public abstract int bMethod(double x); |
| 19 | |
| 20 | public int conflictingMethod(double x) { |
| 21 | return 0; |
| 22 | } |
| 23 | |
| 24 | public int cMethod(boolean x) { |
| 25 | return 0; |
| 26 | } |
| 27 | |
| 28 | public int conflictingMethod(boolean x) { |
| 29 | return 0; |
| 30 | } |
| 31 | |
| 32 | public int anotherConflict(boolean x) { |
| 33 | return 0; |
| 34 | } |
| 35 | |
| 36 | public int unique(List x) { |
| 37 | return 0; |
| 38 | } |
| 39 | } |