File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ subroutine test_18(error_cnt)
3030 integer :: ival
3131 logical :: found
3232 logical ,dimension (4 ) :: ok
33+ integer ,dimension (4 ) :: iresult
3334
3435 write (error_unit,' (A)' ) ' '
3536 write (error_unit,' (A)' ) ' ================================='
@@ -53,19 +54,23 @@ subroutine test_18(error_cnt)
5354
5455 call json% initialize(trailing_spaces_significant= .true. ,&
5556 case_sensitive_keys= .true. )
56- call go([1 ,2 ,3 ,4 ])
57+ iresult = [1 ,2 ,3 ,4 ]
58+ call go(iresult)
5759
5860 call json% initialize(trailing_spaces_significant= .false. ,&
5961 case_sensitive_keys= .true. )
60- call go([1 ,2 ,1 ,2 ])
62+ iresult = [1 ,2 ,1 ,2 ]
63+ call go(iresult)
6164
6265 call json% initialize(trailing_spaces_significant= .true. ,&
6366 case_sensitive_keys= .false. )
64- call go([1 ,1 ,3 ,3 ])
67+ iresult = [1 ,1 ,3 ,3 ]
68+ call go(iresult)
6569
6670 call json% initialize(trailing_spaces_significant= .false. ,&
6771 case_sensitive_keys= .false. )
68- call go([1 ,1 ,1 ,1 ])
72+ iresult = [1 ,1 ,1 ,1 ]
73+ call go(iresult)
6974
7075 ! cleanup:
7176 call json% destroy(p)
You can’t perform that action at this time.
0 commit comments