summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/bridgeMethods/Bridging2.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java5/generics/itds/bridgeMethods/Bridging2.aj')
-rw-r--r--tests/java5/generics/itds/bridgeMethods/Bridging2.aj16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/java5/generics/itds/bridgeMethods/Bridging2.aj b/tests/java5/generics/itds/bridgeMethods/Bridging2.aj
new file mode 100644
index 000000000..ecd270de3
--- /dev/null
+++ b/tests/java5/generics/itds/bridgeMethods/Bridging2.aj
@@ -0,0 +1,16 @@
+// this bridge stuff is handled by the compiler
+import java.lang.reflect.*;
+
+abstract class C<A> {
+ abstract A next();
+}
+
+class D extends C<String> {
+ String next() {return "";}
+}
+
+public aspect Bridging2 {
+ public static void main(String []argv) {
+ Util.dumpMethods("D");
+ }
+} \ No newline at end of file