testdata for IDEA-131686

This commit is contained in:
Anna Kozlova
2015-12-02 15:42:02 +01:00
parent 2bb333cd43
commit 8a1085dac4
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,12 @@
interface Msg<T extends Msg<T>> {}
class Conv<T extends Msg<T>> {
static <A extends Msg<A>> Conv<A> createBar(A a) {
return null;
}
@SuppressWarnings("unchecked")
static void test() {
Conv<? extends Msg<?>> conv = Conv.createBar((Msg) null);
}
}