testdata for IDEA-21597

This commit is contained in:
anna
2013-05-03 13:30:10 +02:00
parent 3bbaf797d3
commit 29341b4c78
2 changed files with 10 additions and 0 deletions
@@ -0,0 +1,7 @@
interface Foo<A> {}
interface Bar extends Foo<Boolean> {}
class FooFactory {
public <A> Foo<A> getFoo() {
return (Foo<A>) new Bar() {};
}
}