aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bugs160/pr219298/TestMarkers.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs160/pr219298/TestMarkers.java b/tests/bugs160/pr219298/TestMarkers.java
new file mode 100644
index 000000000..9ca282f0e
--- /dev/null
+++ b/tests/bugs160/pr219298/TestMarkers.java
@@ -0,0 +1,12 @@
+public class TestMarkers {
+ public class SuperGenericsType {}
+
+ public class SubGenericsType
+ //Following line would produce correct code
+ //extends SuperGenericsType
+ {}
+
+ public class Super<T extends SuperGenericsType> {}
+
+ public class Sub extends Super<SubGenericsType> {}
+} \ No newline at end of file