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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [pr19928-1.f90] - Blame information for rev 193

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! PR 19928.  Check the use of constant substring indexes in a
2
! scalarization loop.
3
! { dg-do run }
4
program main
5
  implicit none
6
  character (len = 5), dimension (2) :: a
7
  character (len = 3), dimension (2) :: b
8
  a = (/ 'abcde', 'ghijk' /)
9
  b = a(:)(2:4)
10
  if (b(1) .ne. 'bcd' .or. b(2) .ne. 'hij') call abort
11
end program main

powered by: WebSVN 2.1.0

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