3 ! A subprogram calling an array constructor with an array element whose
4 ! value is the result of calling a character function with both an
5 ! assumed-length argument and an assumed-length result
9 function inner(inner_str
) result(upper
)
10 character(*), intent(IN
) :: inner_str
11 character(LEN(inner_str
)) :: upper
16 subroutine outer(outer_str
)
17 character(*), intent(IN
) :: outer_str
20 z
= [inner(outer_str
)]