2 ! { dg-options "-fbounds-check" }
4 real, dimension(2,2) :: result
5 real, dimension(6) :: source
6 real, dimension(2) :: pad
8 call random_number (source
)
9 call random_number (pad
)
11 result
= reshape(source
, shape(result
),pad
=pad(1:0))
12 result
= reshape(source
, shape(result
))
13 result
= reshape(source
, shape(result
),pad
=pad
)