The following is invalid Fortran as an internal-subprogram (R1101,R210) or
module-subprogram (R1107) is needed with CONTAINS.

module x
 contains
end module x

program y
  contains
end program y


-- 
           Summary: Error if CONTAINS is present without SUBPROGRAM
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          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=29806

Reply via email to