summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/actual_array_interface_2.f90
blob: ae429b7d9a98addc31c32876b0a587ad1d822b94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! { dg-do compile }
program gprogram
   implicit none
   real, dimension(-2:0) :: my_arr
   call fill_array(my_arr)
   contains
      subroutine  fill_array(arr)
         implicit none
         real, dimension(-2:0), intent(out) :: arr
         arr = 42
      end subroutine fill_array
end program gprogram