blob: 05f48ab1aad4a81c24ffec6f14fff880a276eb02 [file] [log] [blame]
Sebastien Hertz681eb292018-04-10 17:30:28 +02001// 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
5interface InterfaceWithDefaultAndStaticMethods {
6 default void doSomething(String msg) {
7 String name = getClass().getName();
8 System.out.println(name + ": " + msg);
9 }
10
11 static void printString(String msg) {
12 System.out.println(msg);
13 }
14}