import org.allspice.bytecode.instructions.ShiftRight;
public class TestSHR extends MyTestCase {
public ClassDef defadd(String ret,String type,int i1,int i2) {
ClassDef cd = makeClassDef() ;
Var x = new Var(i1,new TypeName(type)) ;
Var y = new Var(i2,TypeName.INT) ;
MethodDef md = new MethodDef(new TypeName(ret),"meth",x,y) ;
md = md.addInstructions(
new Load(x),
new Load(y),
new ShiftRight(TypeCode.getType(type)),