OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [implicit_13.f90] - Rev 694

Compare with Previous | Blame | View Log

! { 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 :: RDA

RDA = S_REAL_SQRT_I(42) ! { dg-bogus "Can't convert" }

CONTAINS

REAL FUNCTION S_REAL_SQRT_I(I) RESULT (R)
  IMPLICIT NONE
  INTEGER :: I
  R = 0.0
END FUNCTION S_REAL_SQRT_I

END

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.