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
RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr95342.f90
blob
41c987d3bbbe976ba426c57b966cfd8575bdd849
1
! { dg-do compile }
2
! PR fortran/95342 - ICE in gfc_match_subroutine, at fortran/decl.c:7913
3
4
module
m1
5
interface
6
module subroutine
s
()
7
end
8
subroutine
s
()
bind
(
c
)
! { dg-error "EXTERNAL attribute conflicts" }
9
end
! { dg-error "END INTERFACE" }
10
end interface
11
end
12
13
module
m2
14
interface
15
module function
f
()
16
end
17
function
f
()
bind
(
c
)
18
end
! { dg-error "Duplicate EXTERNAL attribute" }
19
end interface
20
end