Array literal with typespec

Vladimír Fuka vladimir.fuka@gmail.com
Thu Jun 6 20:03:00 GMT 2013


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)



More information about the Fortran mailing list