☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
namelist_74.f90
☽
☼
gcc/testsuite/gfortran.dg/namelist_74.f90
code
plain
raw
1
! { dg-do compile }
2
! PR fortran/50556
3
subroutine foo
4
save i
5
namelist /i/ ii ! { dg-error "cannot have the SAVE attribute" }
6
end subroutine foo
7
subroutine bar
8
namelist /i/ ii
9
save i ! { dg-error "cannot have the SAVE attribute" }
10
end subroutine bar