summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/array_constructor_15.f90
blob: 67f3aff390ee05eea6e14dac290f860824b6dbea (plain)
1
2
3
4
5
6
! { 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" } }