URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [pr17164.f90] - Rev 154
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }
! pr17164
! index aborts when substring is longer than string
implicit none
character*5 x
integer i
x='12345'
i=index(x,'blablabl')
if (i.ne.0) call abort
end
Go to most recent revision | Compare with Previous | Blame | View Log