aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs187/469889/Code.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs187/469889/Code.java')
-rw-r--r--tests/bugs187/469889/Code.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/bugs187/469889/Code.java b/tests/bugs187/469889/Code.java
new file mode 100644
index 000000000..1319ecfa2
--- /dev/null
+++ b/tests/bugs187/469889/Code.java
@@ -0,0 +1,31 @@
+interface A<T> {
+ T getValue();
+}
+
+
+/*
+abstract class AbstractA<T> implements A<T> {
+}
+*/
+
+interface B extends A<String> {
+ @Override
+ default String getValue() {
+ return "B";
+ }
+}
+
+
+/*
+class BImpl extends AbstractA<String> implements B {
+
+}
+
+public class Code {
+ public static void main(final String[] args) {
+ final A<String> object1 = new BImpl();
+ System.out.println(object1.getValue());
+ }
+}
+
+*/