1 2 3 4 5 6 7 8 9
! { dg-do compile } ! PR 30869 - pointer loop variables were wrongly rejected. program main integer, pointer :: i allocate (i) do i=1,10 end do deallocate (i) end program main