c { dg-do run }
        PROGRAM TEST
        REAL AB(3)
        do i=1,3
         AB(i)=i
        enddo
        k=1
        n=2
        ind=k-n+2
        if (ind /= 1) call abort
        if (ab(ind) /= 1) call abort
        if (k-n+2 /= 1) call abort
        if (ab(k-n+2) /= 1) call abort
        END
