Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/host_assoc_call_1.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { 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