@@ -23,35 +23,50 @@ subroutine vol_dum_int_arr(my_int_arr)
23
23
end subroutine vol_dum_int_arr
24
24
25
25
subroutine test_all_subprograms ()
26
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_int=' is not a variable
26
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_int=' is not definable
27
+ ! BECAUSE: '6_4' is not a variable or pointer
27
28
call vol_dum_int(6 )
28
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_int=' is not a variable
29
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_int=' is not definable
30
+ ! BECAUSE: '18_4' is not a variable or pointer
29
31
call vol_dum_int(6+12 )
30
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_int=' is not a variable
32
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_int=' is not definable
33
+ ! BECAUSE: '72_4' is not a variable or pointer
31
34
call vol_dum_int(6 * 12 )
32
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_int=' is not a variable
35
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_int=' is not definable
36
+ ! BECAUSE: '-3_4' is not a variable or pointer
33
37
call vol_dum_int(- 6 / 2 )
34
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_real=' is not a variable
38
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_real=' is not definable
39
+ ! BECAUSE: '3.1415927410125732421875_4' is not a variable or pointer
35
40
call vol_dum_real(3.141592653 )
36
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_real=' is not a variable
41
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_real=' is not definable
42
+ ! BECAUSE: '3.1415927410125732421875_4' is not a variable or pointer
37
43
call vol_dum_real(3.141592653 + (- 10.6e-11 ))
38
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_real=' is not a variable
44
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_real=' is not definable
45
+ ! BECAUSE: '3.3300884272335906644002534449100494384765625e-10_4' is not a variable or pointer
39
46
call vol_dum_real(3.141592653 * 10.6e-11 )
40
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_real=' is not a variable
47
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_real=' is not definable
48
+ ! BECAUSE: '-2.9637666816e10_4' is not a variable or pointer
41
49
call vol_dum_real(3.141592653 / (- 10.6e-11 ))
42
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_complex=' is not a variable
50
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_complex=' is not definable
51
+ ! BECAUSE: '(1._4,3.2000000476837158203125_4)' is not a variable or pointer
43
52
call vol_dum_complex((1 ., 3.2 ))
44
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_complex=' is not a variable
53
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_complex=' is not definable
54
+ ! BECAUSE: '(-1._4,6.340000152587890625_4)' is not a variable or pointer
45
55
call vol_dum_complex((1 ., 3.2 ) + (- 2 ., 3.14 ))
46
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_complex=' is not a variable
56
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_complex=' is not definable
57
+ ! BECAUSE: '(-1.2048000335693359375e1_4,-3.2599999904632568359375_4)' is not a variable or pointer
47
58
call vol_dum_complex((1 ., 3.2 ) * (- 2 ., 3.14 ))
48
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_complex=' is not a variable
59
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_complex=' is not definable
60
+ ! BECAUSE: '(5.80680549144744873046875e-1_4,-6.8833148479461669921875e-1_4)' is not a variable or pointer
49
61
call vol_dum_complex((1 ., 3.2 ) / (- 2 ., 3.14 ))
50
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_int_arr=' is not a variable
62
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_int_arr=' is not definable
63
+ ! BECAUSE: '[INTEGER(4)::1_4,2_4,3_4,4_4]' is not a variable or pointer
51
64
call vol_dum_int_arr((/ 1 , 2 , 3 , 4 / ))
52
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_int_arr=' is not a variable
65
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_int_arr=' is not definable
66
+ ! BECAUSE: 'reshape([INTEGER(4)::1_4,2_4,3_4,4_4],shape=[2,2])' is not a variable or pointer
53
67
call vol_dum_int_arr(reshape ((/ 1 , 2 , 3 , 4 / ), (/ 2 , 2 / )))
54
- ! WARNING: actual argument associated with VOLATILE dummy argument 'my_int_arr=' is not a variable
68
+ ! WARNING: Actual argument associated with VOLATILE dummy argument 'my_int_arr=' is not definable
69
+ ! BECAUSE: '[INTEGER(4)::1_4,2_4,3_4,4_4]' is not a variable or pointer
55
70
call vol_dum_int_arr((/ 1 , 2 , 3 , 4 / ))
56
71
end subroutine test_all_subprograms
57
72
end module m
0 commit comments