view gcc/testsuite/gfortran.dg/actual_array_interface_2.f90 @ 118:fd00160c1b76

ifdef TARGET_64BIT
author mir3636
date Tue, 27 Feb 2018 15:01:35 +0900
parents 04ced10e8804
children
line wrap: on
line source

! { 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