Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/array_constructor_31.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! Test the fix for pr40018 in which the elements in the array ! constructor would be of default type and this would cause an ! ICE in the backend because of the type mistmatch with 'i'. ! ! Contributed by Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> ! integer(kind=8) :: i write(*,*) [(i, i = 1, 10)] end