URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [namelist_52.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do run }! PR36582 Namelist I/O error: Bogus "Cannot match namelist object"! Test case derived from PR.module mod1type screen_io_typeinteger :: beginend type screen_io_typetype adjoint_typetype(screen_io_type) :: screen_io_fs_ntimecharacter(12) :: solver_typeend type adjoint_typetype(adjoint_type) :: adjointnamelist/info_adjoint/adjointend module mod1program gfortran_error_2use mod1adjoint%solver_type = "abcdefghijkl"open(31,status='scratch')write(31, '(a)') "&info_adjoint"write(31, '(a)') "adjoint%solver_type = 'direct'"write(31, '(a)') "adjoint%screen_io_fs_ntime%begin = 42"write(31, '(a)') "/"rewind(31)read(31,nml=info_adjoint)if (adjoint%solver_type /= 'direct') call abortif (adjoint%screen_io_fs_ntime%begin /= 42) call abortend program gfortran_error_2! { dg-final { cleanup-modules "mod1" } }
