This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Array literal with typespec


Hello,

  the following does not work. Is it supposed to work in 4.8 or should
I wait for 4.9?

    Vladimir

 type t
 end type

 type(t),allocatable :: a(:)
 a = [t::t()]
end


 a = [t::t()]
       1
Error: Function 't' requires an argument list at (1)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]