aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs169/pr308773
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs169/pr308773')
-rw-r--r--tests/bugs169/pr308773/Aspy.aj4
-rw-r--r--tests/bugs169/pr308773/Middle.java3
-rw-r--r--tests/bugs169/pr308773/Top.java5
-rw-r--r--tests/bugs169/pr308773/Zzz.java6
4 files changed, 18 insertions, 0 deletions
diff --git a/tests/bugs169/pr308773/Aspy.aj b/tests/bugs169/pr308773/Aspy.aj
new file mode 100644
index 000000000..f9fa3ec3d
--- /dev/null
+++ b/tests/bugs169/pr308773/Aspy.aj
@@ -0,0 +1,4 @@
+
+public aspect Aspy {
+ before(): call(* *(..)) { }
+}
diff --git a/tests/bugs169/pr308773/Middle.java b/tests/bugs169/pr308773/Middle.java
new file mode 100644
index 000000000..08a894d0a
--- /dev/null
+++ b/tests/bugs169/pr308773/Middle.java
@@ -0,0 +1,3 @@
+public abstract class Middle<E> extends Top<E> {
+ class IteratorImpl extends TopInner { }
+}
diff --git a/tests/bugs169/pr308773/Top.java b/tests/bugs169/pr308773/Top.java
new file mode 100644
index 000000000..ef94dfc69
--- /dev/null
+++ b/tests/bugs169/pr308773/Top.java
@@ -0,0 +1,5 @@
+public class Top<K> {
+ class TopInner {
+ public void hhh() { }
+ }
+}
diff --git a/tests/bugs169/pr308773/Zzz.java b/tests/bugs169/pr308773/Zzz.java
new file mode 100644
index 000000000..752e3aeda
--- /dev/null
+++ b/tests/bugs169/pr308773/Zzz.java
@@ -0,0 +1,6 @@
+public abstract class Zzz<E> extends Middle<E> {
+ void removeAll() {
+ IteratorImpl it = new IteratorImpl();
+ it.hhh();
+ }
+}