Is this conforming (f2003?):
character( len=: ), allocatable :: a
allocate( character(len=128) :: a )
write (*,*) len(a), a%len, a%kind
end
It seems conforming to me.
One compiler accepts this and give the expected output.
One compiler explodes with ICE.
One compiler rejects it with an error.
Thanks
Anton
|