blob: c09b11abae7d7b645016325fa60283c4c81542e4 [file] [log] [blame]
Stephan Herhutd5aa0922017-05-22 16:06:14 +02001// 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.
4package classmerging;
5
6public class SubClassThatReferencesSuperMethod extends SuperClassWithReferencedMethod {
7
8 @Override
9 public String referencedMethod() {
Christoffer Quist Adamsen101d2302018-06-12 16:44:10 +020010 System.out.println("In referencedMethod on SubClassThatReferencesSuperMethod");
11 System.out.println("Calling referencedMethod on SuperClassWithReferencedMethod with super");
12 System.out.println("Got: " + super.referencedMethod());
13 return "SubClassThatReferencesSuperMethod.referencedMethod()";
Stephan Herhutd5aa0922017-05-22 16:06:14 +020014 }
15}