public void CompileMethodWithLocals()
{
Machine machine = new Machine();
IClass cls = machine.CreateClass("Rectangle");
cls.DefineInstanceVariable("x");
var method = this.compiler.CompileInstanceMethod("x | temp | temp := x. ^temp", cls);
Assert.IsNotNull(method);
Assert.IsNotNull(method.ByteCodes);
}