PR middle-end/77674
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr77351.f90
blob76ce5c528b2912223a5bcc63b5fe4433fc5b1957
1 ! { dg-do compile }
2 program p
3 integer :: z(4) = [1, 2, 3, 4]
4 print *, any(shape(z) /= [4,1]) ! { dg-error "shape for elemental binary" }
5 end
6 ! { dg-excess-errors "operands are incommensurate" }