summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.fortran-torture/compile/contained_5.f90
blob: 94946f76b0d45ad5bb93993bae5adebc1c3e9fd7 (plain)
1
2
3
4
5
6
7
8
9
10
! 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