import Tree.*;	// Appel doesn't like this, but tough
import java.io.PrintWriter;
import IRT.Print;

/**
 * Test the IRT.Print module.
 *
 * @author Samuel A. Rebelsky
 */
public class TestPrint {
    public static void main(String[] args) throws Exception {
        Stm s1 = new MOVE(
            new MEM(new TEMP(new Temp.Temp())),
            new TEMP(new Temp.Temp("ACC")));
        StmList s = new StmList(s1, null);
        System.out.println("# Starting ...");
        Print.print(new PrintWriter(System.out, true), s);
        System.out.println("# Ending ...");
    } // main
} // class TestPrint

