Open
Description
In this test, an only argument with blank spaces and a only line break is passed from command line.
Source code:
program main
character(len=:), allocatable :: buffer
integer :: length
call get_command_argument(1,length=length)
allocate(character(len=length) :: buffer)
call get_command_argument(1,buffer)
write(*,'("The argument is: ",a)') buffer
end program main
Have I forgotten anything?
fpm commit: 8f27d57
Metadata
Metadata
Assignees
Labels
No labels