]> source.dussan.org Git - aspectj.git/commitdiff
219298: testcode
authoraclement <aclement>
Tue, 19 Feb 2008 18:11:19 +0000 (18:11 +0000)
committeraclement <aclement>
Tue, 19 Feb 2008 18:11:19 +0000 (18:11 +0000)
tests/bugs160/pr219298/TestMarkers.java [new file with mode: 0644]

diff --git a/tests/bugs160/pr219298/TestMarkers.java b/tests/bugs160/pr219298/TestMarkers.java
new file mode 100644 (file)
index 0000000..9ca282f
--- /dev/null
@@ -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