]> source.dussan.org Git - aspectj.git/commitdiff
genericitds: sharing type variables with generic type - parsing test
authoraclement <aclement>
Mon, 8 Aug 2005 08:36:05 +0000 (08:36 +0000)
committeraclement <aclement>
Mon, 8 Aug 2005 08:36:05 +0000 (08:36 +0000)
tests/java5/generics/itds/Parse6.aj [new file with mode: 0644]

diff --git a/tests/java5/generics/itds/Parse6.aj b/tests/java5/generics/itds/Parse6.aj
new file mode 100644 (file)
index 0000000..d9f93b2
--- /dev/null
@@ -0,0 +1,16 @@
+class Base<N extends Number> {
+
+  public List<N> f1;
+
+  public void m1(List<N> ns) {}
+
+}
+
+aspect X {
+
+  public List<Z> Base<Z>.f2;
+
+  public void Base<Z>.m1(List<Z> ns) {}
+
+}
+