Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/pack_assign_1.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 } ! PR32890 - compile-time checks for assigments INTEGER :: it, neighbrs(42) ! anything but 30 neighbrs = PACK((/ (it, it=1,30) /), (/ (it, it=1,30) /) < 3, (/ (0,it=1,30) /) ) ! { dg-error "Different shape" } END