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

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> 
---

Older versions give :


$ gfortran-7-20160828 z1.f90
z1.f90:5:16:

    namelist /nml/ x
                1
Error: NAMELIST object 'x' in namelist 'nml' at (1) is polymorphic and requires
a defined input/output procedure
z1.f90:4:16:

    class(t) :: x
                1
Error: CLASS variable 'x' at (1) must be dummy, allocatable or pointer

Reply via email to