| 1 |
! { dg-do compile } |
| 2 |
! PR 34549 - a real value was accepted for shift. |
| 3 |
program main |
| 4 |
implicit none |
| 5 |
real, dimension(2,2) :: r |
| 6 |
data r /1.0, 2.0, 3.0, 4.0/ |
| 7 |
print *,cshift(r,shift=2.3,dim=1) ! { dg-error "must be INTEGER" } |
| 8 |
end program main |