URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [intrinsic_index.f90] - Rev 695
Compare with Previous | Blame | View Log
! Program to test the INDEX intrinsicprogram testcharacter(len=10) ainteger wif (index("FORTRAN", "R") .ne. 3) call abortif (index("FORTRAN", "R", .TRUE.) .ne. 5) call abortif (w ("FORTRAN") .ne. 3) call abortendfunction w(str)character(len=7) strinteger ww = index(str, "R")end
