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)
30
30
integer :: ival
31
31
logical :: found
32
32
logical ,dimension (4 ) :: ok
33
+ integer ,dimension (4 ) :: iresult
33
34
34
35
write (error_unit,' (A)' ) ' '
35
36
write (error_unit,' (A)' ) ' ================================='
@@ -53,19 +54,23 @@ subroutine test_18(error_cnt)
53
54
54
55
call json% initialize(trailing_spaces_significant= .true. ,&
55
56
case_sensitive_keys= .true. )
56
- call go([1 ,2 ,3 ,4 ])
57
+ iresult = [1 ,2 ,3 ,4 ]
58
+ call go(iresult)
57
59
58
60
call json% initialize(trailing_spaces_significant= .false. ,&
59
61
case_sensitive_keys= .true. )
60
- call go([1 ,2 ,1 ,2 ])
62
+ iresult = [1 ,2 ,1 ,2 ]
63
+ call go(iresult)
61
64
62
65
call json% initialize(trailing_spaces_significant= .true. ,&
63
66
case_sensitive_keys= .false. )
64
- call go([1 ,1 ,3 ,3 ])
67
+ iresult = [1 ,1 ,3 ,3 ]
68
+ call go(iresult)
65
69
66
70
call json% initialize(trailing_spaces_significant= .false. ,&
67
71
case_sensitive_keys= .false. )
68
- call go([1 ,1 ,1 ,1 ])
72
+ iresult = [1 ,1 ,1 ,1 ]
73
+ call go(iresult)
69
74
70
75
! cleanup:
71
76
call json% destroy(p)
You can’t perform that action at this time.
0 commit comments