2 ! PR 22144: eoshift1, eoshift3 and cshift1 used to lack memory
3 ! allocation, which caused the writes to segfault.
6 integer, dimension (:,:),allocatable :: a
7 integer, dimension (3) :: sh, bo
8 character(len=80) line1, line2
12 a = reshape((/(i,i=1,9)/),shape(a))
15 write(unit=line1,fmt='(10I5)') cshift(a, shift=sh)
16 write(unit=line1,fmt='(10I5)') eoshift(a, shift=sh)
17 write(unit=line1,fmt='(10I5)') eoshift(a, shift=sh, boundary=bo)