aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153/GenericMethod/C.java
diff options
context:
space:
mode:
authoraclement <aclement>2008-07-18 21:56:31 +0000
committeraclement <aclement>2008-07-18 21:56:31 +0000
commitc78628924a9969b5e84ac13cbaf63efa13422d0e (patch)
treec98786af6dd97b09a2849159aa0089a63b841b48 /tests/bugs153/GenericMethod/C.java
parent942138ee1f7be2ace3ed41901d97a21f32055e88 (diff)
downloadaspectj-c78628924a9969b5e84ac13cbaf63efa13422d0e.tar.gz
aspectj-c78628924a9969b5e84ac13cbaf63efa13422d0e.zip
230234 comment 10 - ajdoc modifications and tests
Diffstat (limited to 'tests/bugs153/GenericMethod/C.java')
-rw-r--r--tests/bugs153/GenericMethod/C.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs153/GenericMethod/C.java b/tests/bugs153/GenericMethod/C.java
new file mode 100644
index 000000000..8621aca45
--- /dev/null
+++ b/tests/bugs153/GenericMethod/C.java
@@ -0,0 +1,14 @@
+import java.util.List;
+
+public class C {
+ public <T> T returnT(T a){
+ return a;
+ }
+
+ public <Q extends List> Q returnQ(Q a){
+ return a;
+ }
+
+ public <T, Q> void doubleGeneric(Q a, T b){
+ }
+}