Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gfortran.fortran-torture / compile / shape_reshape.f90
bloba8e632b1f4b0c3c6d757bd9b0af2149c9f270094
1 ! This checks that the shape of the SHAPE intrinsic is known.
2 PROGRAM shape_reshape
3 INTEGER, ALLOCATABLE :: I(:,:)
4 ALLOCATE(I(2,2))
5 I = RESHAPE((/1,2,3,4/),SHAPE=SHAPE(I))
6 DEALLOCATE(I)
7 END PROGRAM