aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs162/pr242797/case3/GenericMethodImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs162/pr242797/case3/GenericMethodImpl.java')
-rw-r--r--tests/bugs162/pr242797/case3/GenericMethodImpl.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bugs162/pr242797/case3/GenericMethodImpl.java b/tests/bugs162/pr242797/case3/GenericMethodImpl.java
new file mode 100644
index 000000000..0c5218598
--- /dev/null
+++ b/tests/bugs162/pr242797/case3/GenericMethodImpl.java
@@ -0,0 +1,10 @@
+import java.util.LinkedList;
+import java.util.List;
+
+public class GenericMethodImpl<D extends Type1> implements GenericMethodInterface{
+
+ public <T extends D> List<T> getStuff(){
+ return new LinkedList<T>();
+ }
+
+}