diff options
Diffstat (limited to 'tests/bugs153/GenericMethod/C.java')
-rw-r--r-- | tests/bugs153/GenericMethod/C.java | 14 |
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){ + } +} |