testdata for IDEA-57539

This commit is contained in:
anna
2013-01-08 11:27:09 +01:00
parent 7680868d24
commit fe7244031a
2 changed files with 15 additions and 1 deletions
@@ -0,0 +1,13 @@
class E<T> {
Class<T[]> o = <error descr="Cannot select from a type variable">T[]</error>.class;
}
class MyClass<T> {
Class<T[]> getTs() {
return <error descr="Cannot select from a type variable">T[]</error>.class;
}
public static void main(String[] args) {
new MyClass<String>().getTs();
}
}