aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs183/443355/Demo.java
blob: 2a6d9df1fb364b006ff2c21d1abbceb424029487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
interface Foo {
	default void printMessage() {
		System.out.println("GW");
	}
}

interface Bar {
	default void printMessage() {
		System.out.println("HW");
	}
}

class FooImpl implements Foo,Bar {
	public void printMessage() {
		Bar.super.printMessage();
	}
}


public class Demo {
	public static void main(String[] args) {
          new FooImpl().printMessage();
	}
}