testdata for IDEA-27185

This commit is contained in:
anna
2013-05-03 13:30:07 +02:00
parent 05ebdc5e5b
commit 84e7b5029d
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,13 @@
import java.io.Serializable;
interface A<T extends Serializable>
{
<S extends T> S foo(S s);
}
class B implements A<Number>
{
@Override
public <S extends Number> S foo(S s)
{
return s;
}
}