☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
pr17164.f90
☽
☼
gcc/testsuite/gfortran.dg/pr17164.f90
code
plain
raw
1
! { dg-do run }
2
! { dg-options "-std=legacy" }
3
!
4
! pr17164
5
! index aborts when substring is longer than string
6
implicit none
7
character*5 x
8
integer i
9
x='12345'
10
i=index(x,'blablabl')
11
if (i.ne.0) STOP 1
12
end
13