summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/array_constructor_15.f90
blob: 71260169d580abfea288ef7eb823775a9f7da546 (plain)
1
2
3
4
5
6
7
! { dg-do compile }
! { dg-options "-O2 -fdump-tree-original" }
  integer :: x(2,2)
  if (any(x(:,:) .ne. reshape ((/ 3, 1, 4, 1 /), (/ 2, 2 /)))) call abort ()
end
! { dg-final { scan-tree-dump-times "atmp" 0 "original" } }
! { dg-final { cleanup-tree-dump "original" } }