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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

! { dg-do compile }
! { dg-options "-fdump-tree-original" }
!
! PR fortran/44857
!
!

  Type :: t
    character (len=5) :: txt(2)
  End Type
  character (len=5) :: str(2) = [ "12345", "67890" ]
  Type (t) :: tt = t( [str] ) ! { dg-error "does not reduce to a constant" }
End

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.