import org.checkerframework.common.value.qual.*;

class MinLenLTETransfer {
    void lte_check(int[] a) {
        if (1 <= a.length) {
            int @MinLen(1) [] b = a;
        }
    }

    void lte_bad_check(int[] a) {
        if (1 <= a.length) {
            // :: error: (assignment.type.incompatible)
            int @MinLen(2) [] b = a;
        }
    }
}
