☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
bounds_check_18.f90
☽
☼
gcc/testsuite/gfortran.dg/bounds_check_18.f90
code
plain
raw
1
! { dg-do compile }
2
program main
3
implicit none
4
integer :: n
5
real, dimension(10) :: a
6
n = 0
7
call random_number(a)
8
if (any(a(n+1:n+5) > [1.0, 2.0, 3.0])) print *,"Hello!" ! { dg-error "not conformable" }
9
end program main