aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr77351.f90
blob: e3e8bc4f64bd9b411ba6e8c13106c2bee50d81ab (plain)
1
2
3
4
5
6
7
8
! { dg-do compile }
!
! PR93835 resulted in different but valid error message
program p
   integer :: z(4) = [1, 2, 3, 4]
   print *, any(shape(z) /= [4,1])  ! { dg-error "Shapes for operands at .1. and .2. are not conformable" }
end