c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr59440-2.f90
bloba9f027c47b8b515542306a7cb8f7cb70e47493c5
1 ! PR fortran/59440
2 ! { dg-do compile }
3 ! { dg-options "-O2 -g" }
5 subroutine foo (nnml, outv)
6 integer, intent(in) :: nnml
7 integer, intent(out) :: outv
8 integer :: grid
9 namelist /N/ grid
10 read (nnml, nml=N)
11 call bar
12 contains
13 subroutine bar
14 outv = grid
15 end subroutine bar
16 end subroutine foo