aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/sharing/GenericAspectE.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java5/generics/itds/sharing/GenericAspectE.aj')
-rw-r--r--tests/java5/generics/itds/sharing/GenericAspectE.aj18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/java5/generics/itds/sharing/GenericAspectE.aj b/tests/java5/generics/itds/sharing/GenericAspectE.aj
new file mode 100644
index 000000000..60bf8cd53
--- /dev/null
+++ b/tests/java5/generics/itds/sharing/GenericAspectE.aj
@@ -0,0 +1,18 @@
+abstract aspect GenericAspect<A> {
+
+ declare parents: A implements IUtil;
+
+ //public void IUtil<Z>.print(Z n) { System.err.println(n); }
+}
+
+interface IUtil<N extends Number> { }
+
+aspect GenericAspectE extends GenericAspect<Base> {
+ public static void main(String []argv) {
+ Base b = new Base();
+ // b.print("hello");
+ }
+}
+
+class Base {}
+