Fix warnings occured during profiledboostrap on
[official-gcc.git] / gcc / testsuite / gfortran.dg / namelist_30.f90
blob1e7cb9ed14f384a7892c81e615916e137f42b132
1 ! { dg-do compile }
3 ! PR fortran/32710 - ICE: namelist and subroutine with the same name
5 ! Contributed by Janus Weil <jaydub66 AT gmail DOT com>
8 program x
9 contains
10 subroutine readInput
11 integer:: a
12 NAMELIST /foo/ a
13 read(5,nml=foo)
14 end subroutine readInput
16 subroutine foo()
17 end subroutine
19 end program