Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/pr68318_2.f90 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! PR fortran/68318 ! Original code submitted by Gerhard Steinmetz ! <gerhard dot steinmetz dot fortran at t-online dot de> ! module m1 implicit none contains subroutine s1 entry e end end module module m2 use m1 ! { dg-error "(2)" } implicit none contains subroutine s2 entry e ! { dg-error "is already defined" } end end module ! { dg-prune-output "Cannot change attribute" }