[AArch64] Merge stores of D-register values with different modes
[official-gcc.git] / gcc / testsuite / gfortran.dg / namelist_45.f90
blob3512d08b7ccb5612e1e5e8654f4016de6f62c373
1 ! { dg-do run }
2 ! PR35617 read namelist error with '!'
3 program test
4 character(len=128) :: mhdpath
5 namelist /nbdrive_naml/ mhdpath
6 open(10, file='test.nml')
8 write(10,'(a)') "&nbdrive_naml"
9 write(10,'(a)')
10 write(10,'(a)') "!nstep_stop = 2 ! uncomment to bar"
11 write(10,'(a)') "!nstep_start = 2 ! uncomment to foo"
12 write(10,'(a)') " mhdpath = 'mypath.dat'"
13 write(10,'(a)') "/"
15 rewind(10)
16 read(10, nbdrive_naml)
17 close(10,status="delete")
18 end program test