PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / PR37039.f90
blob6311f274c8ae0128a63ccdd1de9c98f0b5d2165a
1 ! { dg-do compile }
2 ! { dg-options "-fcray-pointer" }
4 ! Test for PR37039, from an issue on comp.lang.fortran
5 ! http://groups.google.com/group/comp.lang.fortran/msg/8cfa06f222721386
7 subroutine test(nnode)
8 implicit none
9 integer n,nnode
10 pointer(ip_tab, tab)
11 integer , dimension(1:nnode) :: tab
12 do n=1,nnode
13 tab(n) = 0
14 enddo
15 end subroutine test