testdata for IDEA-27080

This commit is contained in:
anna
2013-05-03 13:30:07 +02:00
parent 84e7b5029d
commit 7f1c4d71aa
2 changed files with 10 additions and 0 deletions
@@ -0,0 +1,9 @@
abstract class TypeToken<T> {
private <T> TypeToken<T> tt(Class<T> t) { return null; }
private <T> void checkedTestInexactSupertype(TypeToken<T> expectedSuperclass, TypeToken<? extends T> type) {}
TypeToken<? super Integer> ft = null;
{
checkedTestInexactSupertype(ft, tt(Integer.class));
}
}