blob: f5461e3ae76c5f36549e9b9af195a3b62e27487e [file] [log] [blame]
import java.util.*;
interface Int {}
class Impl implements Int {
void foo(){}
}
class Usage {
void f(List<Impl> l){
for (Impl aImpl : l) {
aImpl.foo();
}
l.get(0).foo();
}
}