Here is another problem case:
character(2),allocatable::s(:,:)
call check(s)
contains
subroutine check(x)
character(*) x(:,:)
allocatable x ! error message sent here
print *,len(x)
end subroutine
end
The compiler sends an error message at the allocatable statement but
it is supposed to implement fully the allocatable array extension
described in the document TR 15581?
Thanks in advance!
Jean Vezina
|