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

Subversion Repositories openrisc

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

Go to most recent revision | Compare with Previous | Blame | View Log

! { dg-do compile }
! Tests the fix for PR31494, where the call of sub2 would reference
! the variable, rather than the contained subroutine.
!
! Contributed by Michael Richmond <michael.a.richmond@nasa.gov>
!
MODULE ksbin2_aux_mod
REAL, DIMENSION(1) :: sub2
CONTAINS
  SUBROUTINE sub1
    CALL sub2
    CONTAINS 
      SUBROUTINE sub2
      END SUBROUTINE sub2
  END SUBROUTINE sub1
END MODULE ksbin2_aux_mod
! { dg-final { cleanup-modules "ksbin2_aux_mod" } }

Go to most recent revision | 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.