https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83274

G. Steinmetz <gs...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |82173

--- Comment #1 from G. Steinmetz <gs...@t-online.de> ---

These examples should be rejected :


$ cat z7.f90
program p
   type t
   end type
   type(t( )) :: a
   type(t(0)) :: b
   type(t(:)) :: c
   type(t(*)) :: d
end


$ cat z8.f90
program p
   type t()
      integer :: a
   end type
end


$ gfortran-8-20171203 -c z7.f90
$ gfortran-8-20171203 -Wall -c z8.f90
$


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
[Bug 82173] [meta-bug] Parameterized derived type errors

Reply via email to