This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41369] Empty derived-type wrongly rejected as function return type
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2009 08:45:08 -0000
- Subject: [Bug fortran/41369] Empty derived-type wrongly rejected as function return type
- References: <bug-41369-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from dominiq at lps dot ens dot fr 2009-09-16 08:45 -------
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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41369