☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
substring_integer_index.f90
☽
☼
gcc/testsuite/gfortran.dg/substring_integer_index.f90
code
plain
raw
1
! { dg-do compile }
2
! PR fortran/50524
3
!
4
program foo
5
print *, 'abc'(2.e0:3) ! { dg-error "must be of type INTEGER" }
6
print *,'qwe'(1:1e0) ! { dg-error "must be of type INTEGER" }
7
end program foo
8