Debian Codegraph @

gcc/testsuite/gfortran.dg/namelist_74.f90

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