OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [char_component_initializer_2.f90] - Rev 694

Compare with Previous | Blame | View Log

! { dg-do run }
! { dg-options "-Wall" }
! Added -Wall option to make sure PR42526 does not show up again.
program gfcbug62
  implicit none
  character(len=16) ::    tdefi(2) = (/'0z1jan0000','1hr       '/)
  type t_ctl
     character(len=16) :: tdefi(2) = (/'0z1jan0000','1hr       '/)
  end type t_ctl

  type(t_ctl) :: ctl
  integer     :: i,k
  i = 1
  k = 1
  if (tdefi(1) .ne. ctl%tdefi(1)) call abort ()
end program gfcbug62

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.