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] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! Tests the fix for PR31494, where the call of sub2 would reference
3
! the variable, rather than the contained subroutine.
4
!
5
! Contributed by Michael Richmond 
6
!
7
MODULE ksbin2_aux_mod
8
REAL, DIMENSION(1) :: sub2
9
CONTAINS
10
  SUBROUTINE sub1
11
    CALL sub2
12
    CONTAINS
13
      SUBROUTINE sub2
14
      END SUBROUTINE sub2
15
  END SUBROUTINE sub1
16
END MODULE ksbin2_aux_mod
17
! { dg-final { cleanup-modules "ksbin2_aux_mod" } }

powered by: WebSVN 2.1.0

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