[to-be-committed] [RISC-V] Use Zbkb for general 64 bit constants when profitable
[official-gcc.git] / gcc / testsuite / gfortran.dg / array_constructor_31.f90
blob02936340ffcc3bcd2a2eac33c9ca0b94c2ce431a
1 ! { dg-do compile }
2 ! Test the fix for pr40018 in which the elements in the array
3 ! constructor would be of default type and this would cause an
4 ! ICE in the backend because of the type mistmatch with 'i'.
6 ! Contributed by Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
8 integer(kind=8) :: i
9 write(*,*) [(i, i = 1, 10)]
10 end