4 real, allocatable
:: a(:), b(:,:)
6 character (len
=2) :: one
, two
12 if (size(a
) /= 0) STOP 1
15 allocate (b(1:-1,0:10))
16 if (size(b
) /= 0) STOP 2
19 ! Use variables for array bounds. The internal reads
20 ! are there to hide fact that these are actually constant.
22 read (unit
=one
, fmt
='(I2)') n
24 if (size(a
) /= 0) STOP 3
27 read (unit
=two
, fmt
='(I2)') m
28 allocate (b(1:3, m
:0))
29 if (size(b
) /= 0) STOP 4