http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50537
Bug #: 50537
Summary: explicit interface required (r178939)
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: [email protected]
ReportedBy: [email protected]
! explicit interface required (r178939)
! this program violates Fortran 95 12.3.1.1 number (2) letter (e)
! this program violates Fortran 2003 12.3.1.1 number (3) letter (c)
! this program violates Fortran 2008 12.4.2.2 number (3) letter (c)
character(2) f
print *,f(1) ! erroneous
end
character(n) function f(n)
f='az'
end