[to-be-committed] [RISC-V] Use Zbkb for general 64 bit constants when profitable
[official-gcc.git] / gcc / testsuite / gfortran.dg / do_subscript_6.f90
blobd78b9d39056cc23649785faf620466db24bb3ddb
1 ! { dg-do compile }
2 ! { dg-options "-std=legacy" }
3 ! PR 91550 - this used to cause an ICE
4 ! Test case by Gerhard Steinmetz
5 program p
6 real :: a(3)
7 integer :: i
8 do i = 1, 3, .1 ! { dg-error "cannot be zero" }
9 a(i) = i
10 end do
11 end