PR middle-end/77674
[official-gcc.git] / gcc / testsuite / gfortran.dg / do_pointer_1.f90
blob548177acc0a071d40878c8eac2563b92905ddac9
1 ! { dg-do compile }
2 ! PR 30869 - pointer loop variables were wrongly rejected.
3 program main
4 integer, pointer :: i
5 allocate (i)
6 do i=1,10
7 end do
8 deallocate (i)
9 end program main