This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33334] New: User-defined type as function result in an interface: Accepts invalid
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2007 15:01:24 -0000
- Subject: [Bug fortran/33334] New: User-defined type as function result in an interface: Accepts invalid
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
(Split off from PR 31154.)
The following is accepted but invalid (without using "IMPORT t"):
module x
implicit none
type t
integer :: i
end type t
interface
type(t) function bar()
end function
end interface
end
--
Summary: User-defined type as function result in an interface:
Accepts invalid
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33334