------- Comment #2 from burnus at gcc dot gnu dot org  2009-09-16 10:33 -------
(In reply to comment #1)
> The test is also rejected by g95 and ifort, the latter gives:
> error #7128: A derived-type-def must have at least one component-def-stmt.

I did not claim that I have a valid Fortran 95 program - in Fortran 2003 it is
allowed.

And ifort 11.1 compiles it (well, at least without the empty structure
constructor which gives a "not yet implemented" error.).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41369

Reply via email to