blob: cd6b20941a5832016e355fe830eecf0594dc948b [file] [log] [blame]
import java.util.Collection;
import java.util.List;
interface A
{
<<error descr="'java.util.Collection' cannot be inherited with different type arguments: 'capture<?>' and 'capture<? extends java.lang.Cloneable>'"></error>T extends List<?> & Collection<? extends Cloneable>> void foo(T x);
}