blob: 2ee24fee17be394c0da3ce4049f3cb1c36f8237a [file] [log] [blame]
Jinseong Jeonf1d3d5092017-10-06 10:56:19 -07001// 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 uniquemembernames;
5
6public abstract class BaseCls {
7
Stephan Herhutf17b3502017-10-27 11:26:43 +02008 protected int c;
Jinseong Jeonf1d3d5092017-10-06 10:56:19 -07009 protected double f2;
10
Stephan Herhutf17b3502017-10-27 11:26:43 +020011 protected abstract int c();
Jinseong Jeonf1d3d5092017-10-06 10:56:19 -070012
13 protected int foo() {
Stephan Herhutf17b3502017-10-27 11:26:43 +020014 return c * (int) f2;
Jinseong Jeonf1d3d5092017-10-06 10:56:19 -070015 }
16
17 protected double bar() {
Stephan Herhutf17b3502017-10-27 11:26:43 +020018 return c * f2;
Jinseong Jeonf1d3d5092017-10-06 10:56:19 -070019 }
20
21}