Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/ambiguous_reference_2.f90 @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! ! PR 39930: Bogus error: ambiguous reference ! ! Contributed by Janus Weil <janus@gcc.gnu.org> module a1 contains subroutine myRoutine end subroutine end module module a2 contains subroutine myRoutine end subroutine end module module b contains subroutine otherRoutine use a1 use a2 end subroutine subroutine myRoutine end subroutine myRoutine ! this is not ambiguous ! end module