Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/zero_sized_2.f90 @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! Tests the fix for PR30514 in which the bounds on m would cause an ! error and the rest would cause the compiler to go into an infinite ! loop. ! Contributed by Tobias Burnus <burnus@gcc.gnu.org> ! integer :: i(2:0), j(1:0), m(1:-1) integer, parameter :: k(2:0) = 0, l(1:0) = 0 i = k j = l m = 5 end