testdata for IDEA-59290

This commit is contained in:
Anna Kozlova
2012-11-01 17:50:19 +01:00
parent 5f0225177e
commit 711e80d769
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import java.util.*;
class Test {
{
List<? super CharSequence> list = new ArrayList<CharSequence>();
List<? super String> foo = list;
System.out.println(foo);
List<? extends String> list1 = new ArrayList<String>();
List<? extends CharSequence> foo1 = list1;
System.out.println(foo1);
}
}