Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/pr59440-3.f90 @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! PR fortran/59440 |
2 ! { dg-do compile } | |
3 ! { dg-options "-O2 -g" } | |
4 | |
5 subroutine foo (nnml, outv) | |
6 integer, intent(in) :: nnml | |
7 integer, intent(out) :: outv | |
8 integer :: grid | |
9 call bar | |
10 outv = grid | |
11 contains | |
12 subroutine bar | |
13 namelist /N/ grid | |
14 read (nnml, nml=N) | |
15 end subroutine bar | |
16 end subroutine foo |