Christoffer Quist Adamsen | 3e5246a | 2018-07-25 14:12:24 +0200 | [diff] [blame] | 1 | // Copyright (c) 2018, 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 classmerging; |
| 6 | |
| 7 | public class ProguardFieldMapTest { |
| 8 | |
| 9 | public static void main(String[] args) { |
| 10 | B b = new B(); |
| 11 | b.test(); |
| 12 | } |
| 13 | |
| 14 | public static class A { |
| 15 | |
| 16 | public String f = "A.f"; |
| 17 | } |
| 18 | |
| 19 | public static class B extends A { |
| 20 | |
| 21 | public void test() { |
| 22 | System.out.println(f); |
| 23 | } |
| 24 | } |
| 25 | } |