aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs160
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs160')
-rw-r--r--tests/bugs160/pr219298/TestMarkers2.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs160/pr219298/TestMarkers2.java b/tests/bugs160/pr219298/TestMarkers2.java
new file mode 100644
index 000000000..7b6259d73
--- /dev/null
+++ b/tests/bugs160/pr219298/TestMarkers2.java
@@ -0,0 +1,12 @@
+public class TestMarkers2 {
+ 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