2010-11-30 Tobias Burnus <burnus@net-b.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / pack_assign_1.f90
blob4bab0da940e4d02af492e8e7d60fde61683d0537
1 ! { dg-do "compile" }
2 ! PR32890 - compile-time checks for assigments
4 INTEGER :: it, neighbrs(42) ! anything but 30
6 neighbrs = PACK((/ (it, it=1,30) /), (/ (it, it=1,30) /) < 3, (/ (0,it=1,30) /) ) ! { dg-error "Different shape" }
8 END