URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [repeat_6.f90] - Rev 384
Compare with Previous | Blame | View Log
! { dg-do run }
!
! PR34559 -- ICE on empty string literals
!
! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
!
character(len=200) :: string = "a" // repeat ("", 3) &
// repeat ("xxx", 0) &
// repeat ("string", 2)
if (string /= "astringstring") CALL abort()
end