Jinseong Jeon | 7cec45b | 2017-10-26 13:14:44 -0700 | [diff] [blame] | 1 | // Copyright (c) 2017, 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 applymapping044; |
| 5 | |
| 6 | import naming044.A; |
| 7 | import naming044.B; |
| 8 | import naming044.sub.SubB; |
| 9 | |
| 10 | public class Main { |
| 11 | public static void main(String[] args) { |
| 12 | B.m(); |
| 13 | SubB.n(); |
| 14 | A a = new A(); |
| 15 | B b = new B(); |
| 16 | b.f(a); |
Jinseong Jeon | bec0533 | 2018-01-09 08:31:34 -0800 | [diff] [blame] | 17 | AsubB aSubB = new AsubB(3); |
| 18 | aSubB.f(a); |
| 19 | SubB subB = new SubB(3); |
Jinseong Jeon | 7cec45b | 2017-10-26 13:14:44 -0700 | [diff] [blame] | 20 | subB.f(a); |
| 21 | } |
| 22 | } |