blob: 939ce3fd197e0bc42757265e4a6fa4e0a9ad6d05 [file] [log] [blame]
import java.util.Collection;
import java.util.List;
interface A
{
<<error descr="'addAll(Collection<? extends E>)' in 'java.util.Collection' clashes with 'addAll(Collection<? extends E>)' in 'java.util.List'; both methods have same erasure, yet neither overrides the other"></error>T extends List<?> & Collection<? extends Cloneable>> void foo(T x);
}