https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109223
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #2 from kargl at gcc dot gnu.org ---
Why do you think it should work?
R863 implicit-stmt is IMPLICIT implicit-spec-list
or IMPLICIT NONE [ ( [ implicit-none-spec-list ] ) ]
R864 implicit-spec is declaration-type-spec ( letter-spec-list )
R865 letter-spec is letter [- letter ]
R866 implicit-none-spec is EXTERNAL
or TYPE
My reading of the EBNF is that TYPE can only following NONE.
Your code lacks NONE.