blob: 76ce5c528b2912223a5bcc63b5fe4433fc5b1957 [file] [log] [blame]
! { dg-do compile }
program p
integer :: z(4) = [1, 2, 3, 4]
print *, any(shape(z) /= [4,1]) ! { dg-error "shape for elemental binary" }
end
! { dg-excess-errors "operands are incommensurate" }