Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/ambiguous_reference_2.f90 @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +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