view gcc/testsuite/gfortran.fortran-torture/compile/contained_5.f90 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

! Function returning an array continaed in a module.  Caused problems 'cos
! we tried to add the dummy return vars to the parent scope.

Module contained_5
contains
FUNCTION test ()
  REAL, DIMENSION (1) :: test
  test(1)=0.0
END FUNCTION 
end module