blob: a37737af8e6e1fa03d53d1b26e3bfaff4e9b0380 [file] [log] [blame]
// Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.examples.regress_37955340;
public class Regress {
static class A {
int x(int a) {
return a;
}
}
static class B extends A {
int x(int a) {
return 2;
}
}
public static void main(String[] args) {
A a = new B();
System.out.println(a.x(1));
}
}