aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.fortran-torture/execute/scalarize3.f90
blob: 76d41484c703b479f8e1f1a973d2289db6736bef (plain)
1
2
3
4
5
6
7
8
program foo
  integer, dimension(3, 2) :: a

  a = reshape ((/1, 2, 3, 4, 5, 6/), (/3, 2/))
  a = a(3:1:-1, 2:1:-1);

  if (any (a .ne. reshape ((/6, 5, 4, 3, 2, 1/), (/3, 2/)))) call abort
end program