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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
namelist_30.f90
blob
1e7cb9ed14f384a7892c81e615916e137f42b132
1
! { dg-do compile }
2
!
3
! PR fortran/32710 - ICE: namelist and subroutine with the same name
4
!
5
! Contributed by Janus Weil <jaydub66 AT gmail DOT com>
6
!
7
8
program
x
9
contains
10
subroutine
readInput
11
integer
::
a
12
NAMELIST
/
foo
/
a
13
read
(
5
,
nml
=
foo
)
14
end subroutine
readInput
15
16
subroutine
foo
()
17
end subroutine
18
19
end program