This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Array literal with typespec
- From: VladimÃr Fuka <vladimir dot fuka at gmail dot com>
- To: fortran at gcc dot gnu dot org
- Date: Thu, 6 Jun 2013 22:03:54 +0200
- Subject: 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)