summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/design/DesignD.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java5/generics/itds/design/DesignD.java')
-rw-r--r--tests/java5/generics/itds/design/DesignD.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/java5/generics/itds/design/DesignD.java b/tests/java5/generics/itds/design/DesignD.java
new file mode 100644
index 000000000..33487fe53
--- /dev/null
+++ b/tests/java5/generics/itds/design/DesignD.java
@@ -0,0 +1,13 @@
+import java.util.*;
+
+class C<N extends Number> {}
+
+interface I {}
+
+aspect X {
+
+ void C<R>.m0(R n) { } // L9
+
+ List<Q> C<Q>.m0(Q q,int i,List<List<Q>> qs) {return null;} // L11
+
+}