arm: Add .type and .size to __gnu_cmse_nonsecure_call [PR115360]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr17164.f90
blob92632efbbef3944beba02b0bc5e605d52633661a
1 ! { dg-do run }
2 ! { dg-options "-std=legacy" }
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