Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/gcc/testsuite/gfortran.dg/namelist_75.f90

11 lines
222 B
Fortran

! { 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