(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
namelist_75.f90
! { dg-do compile }
!
! Tests a write-after-free memory error fix in gfc_undo_symbols

program test_nml

  namelist /foo/ bar, baz
  namelist /foo/ wrong, ,  ! { dg-error "Syntax error in NAMELIST" }

end program test_nml