2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / spread_zerosize_1.f90
blob98a28484cf7ce23638109a6e2d409a74bbe7b9f8
1 ! { dg-do run }
2 ! PR 33298 - zero-sized arrays for spread were handled
3 ! incorrectly.
5 program main
6 real :: x(0,3), y(0)
7 x = spread(y,2,3)
8 end