repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update ChangeLog and version files for release
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr68318_2.f90
blob
451b28f2a479d3aa9eb2288038a11bf04a4c7e3e
1
! { dg-do compile }
2
! PR fortran/68318
3
! Original code submitted by Gerhard Steinmetz
4
! <gerhard dot steinmetz dot fortran at t-online dot de>
5
!
6
module
m1
7
implicit none
8
contains
9
subroutine
s1
10
entry
e
11
end
12
end module
13
14
module
m2
15
use
m1
! { dg-error "(2)" }
16
implicit none
17
contains
18
subroutine
s2
19
entry
e
! { dg-error "is already defined" }
20
end
21
end module
22
! { dg-prune-output "Cannot change attribute" }