blob: 16a838e79a014099528dae92d92855789bf46cf7 [file] [log] [blame]
class Iterator<T>{
public T get(){return null;}
}
class LinkedList<T>{
int i;
LinkedList<T> z;
T t;
public Iterator<T> iterator(){
return null;
}
T get(){return t;}
}
class Simple {
}
class Test{
LinkedList x;
LinkedList y;
Test(Test t){
x = t.x;
}
void f (){
x.t = y.get();
y.z.t = new String();
x.i = 3;
}
}