blob: 819342b0ae2c731dcdbd96aec67c5db3629d3dcd [file] [log] [blame]
class LinkedList<T>{
T t;
public T get(){return t;}
public void set (T t){
this.t = t;
}
}
class Simple {
boolean f(){
return false;
}
}
class Test{
LinkedList y;
LinkedList x;
void f(){
y.set(((Simple) y.get()).f() ? x.get() : x.get());
}
}