URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [namelist_58.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do run }! PR40853 Error in namelist IO.! Test case derived from example given in PR. < jvdelisle@gcc.gnu.org >program testimplicit nonetype tao_title_structcharacter(2) justifyend typetype tao_plot_page_structreal shape_height_maxtype (tao_title_struct) title ! Comment this line out and the bug goes away.real size(2)end typetype (tao_plot_page_struct) plot_pagenamelist / params / plot_pageopen (10, status="scratch")write(10,'(a)')" ¶ms"write(10,'(a)')" plot_page%size=5 , 2,"write(10,'(a)')"/"rewind(10)read (10, nml = params)if (any(plot_page%size .ne. (/ 5, 2 /))) call abortclose (10)end program
