aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs161
diff options
context:
space:
mode:
authoraclement <aclement>2008-06-10 00:15:57 +0000
committeraclement <aclement>2008-06-10 00:15:57 +0000
commit59facf36ee7ac402f60f5887dceecd14bac47514 (patch)
tree7410db52c21f692c51ed13c36da54db689aca0ed /tests/bugs161
parent358beefe5e1e0ee7fd2da5b025fd419fcd0a71c1 (diff)
downloadaspectj-59facf36ee7ac402f60f5887dceecd14bac47514.tar.gz
aspectj-59facf36ee7ac402f60f5887dceecd14bac47514.zip
199130: testcode
Diffstat (limited to 'tests/bugs161')
-rw-r--r--tests/bugs161/pr199130/Complex.java4
-rw-r--r--tests/bugs161/pr199130/Simple.java12
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs161/pr199130/Complex.java b/tests/bugs161/pr199130/Complex.java
new file mode 100644
index 000000000..36e23645e
--- /dev/null
+++ b/tests/bugs161/pr199130/Complex.java
@@ -0,0 +1,4 @@
+interface A {}
+interface B {}
+abstract aspect Parent< V extends A > {}
+abstract aspect Child< V extends A & B > extends Parent< V > {}
diff --git a/tests/bugs161/pr199130/Simple.java b/tests/bugs161/pr199130/Simple.java
new file mode 100644
index 000000000..1479a6205
--- /dev/null
+++ b/tests/bugs161/pr199130/Simple.java
@@ -0,0 +1,12 @@
+interface A {}
+abstract aspect Parent< T > {
+ public void m(T i) {}
+}
+abstract aspect Child< V extends A > extends Parent< V > {
+ public void n(V i) {}
+}
+
+public class Simple {
+ public static void main(String []argv) {
+ }
+}