Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gfortran.dg/pr85357.f90 @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 ! { dg-do compile } | |
2 module base | |
3 implicit none | |
4 contains | |
5 subroutine summation(i) | |
6 integer, intent(in) :: i | |
7 end subroutine | |
8 end module | |
9 | |
10 module extended | |
11 use base | |
12 implicit none | |
13 contains | |
14 subroutine summation() ! { dg-error "is already defined" } | |
15 end subroutine ! { dg-error "Expecting END MODULE statement" } | |
16 end module | |
17 ! { dg-prune-output "is already defined at" } |