import edu.rice.cs.mint.runtime.Code;
import edu.rice.cs.mint.runtime.SafeCode;

public class PrecedenceTest {
    public static void main (String [] args) {
        SafeCode<Integer> c1 = <| 1 + 2 |>;
        Code<Integer> c2 = <| `c1 * 3 |>;
        int retval = c2.run ();
        if (retval != 9) {
            throw new AssertionError ();
        }
        System.out.println ("retval = " + retval);
    }
}
