! { dg-do compile }! PR fortran/35770! Implicit declaration hides type of internal function.! Contributed by Dick Hendrickson <dick.hendrickson@gmail.com>IMPLICIT CHARACTER(s)REAL::RDARDA=S_REAL_SQRT_I(42)! { dg-bogus "Can't convert" }CONTAINSREAL FUNCTION S_REAL_SQRT_I(I)RESULT(R)IMPLICIT NONEINTEGER::IR=0.0END FUNCTION S_REAL_SQRT_IEND