blob: c42ac812725b0b6e3d0c1c3c90982abe4c25e030 [file] [log] [blame]
Yohann Roussel390942c2017-09-06 15:28:39 +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 desugaringwithmissingclasstest2;
5
6public class Main {
7 public static void main(String[] args) throws Exception {
8 ImplementMethodsWithDefault instance = new ImplementMethodsWithDefault();
9 try {
10 String foo = instance.foo();
11 if (foo.equals("B")) {
12 System.out.println("OK");
13 } else {
14 System.out.println("NOT OK: " + foo);
15 }
16 } catch (Throwable t) {
17 System.out.println("NOT OK " + t.getClass() + " " + t.getMessage());
18 t.printStackTrace();
19 }
20 }
21}