blob: 824cb6ab2b7dd75ca52430312cdca7755a06b82b [file] [log] [blame]
! { dg-do run }
! PR 66113 - this used to ICE with deeply nested BLOCKS.
program main
integer :: n
real :: s
n = 3
block
block
block
block
block
real, dimension(n) :: a
a = 3.
s = sum(a)
end block
end block
end block
end block
end block
if (s /= 9) STOP 1
end program main