OSDN Git Service

* gfortran.h (struct gfc_symbol): Add equiv_built.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.fortran-torture / execute / intrinsic_spread.f90
1 program foo
2    integer, dimension (2, 3) :: a
3    integer, dimension (2, 2, 3) :: b
4
5    a = reshape ((/1, 2, 3, 4, 5, 6/), (/2, 3/))
6    b = spread (a, 1, 2)
7    if (any (b .ne. reshape ((/1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6/), &
8                             (/2, 2, 3/)))) &
9       call abort
10 end program