------- Comment #13 from tkoenig at gcc dot gnu dot org  2010-05-19 21:53 
-------
This is now

real, dimension(2) :: test
integer            :: n
test = n
! print *, test
return
end function test
program arr
real, dimension(2) :: res
res = test(2)
print *, res
end program
i...@linux-fd1f:/tmp> gfortran -fwhole-file gurgl.f90
gurgl.f90:10.6:

res = test(2)
      1
Fehler: The reference to function 'test' at (1) either needs an explicit
INTERFACE or the rank is incorrect

Should we close this?


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26227

Reply via email to