2 ! { dg
-require
-visibility
"" }
6 ! Memory leak
(s
) while resolving forall constructs
.
8 ! Contributed by Dick Hendrickson
<dick
.hendrickson@gmail
.com
>
11 INTEGER,PARAMETER,PUBLIC
:: I1_KV
= KIND
(1)
12 INTEGER,PARAMETER,PUBLIC
:: R1_KV
= KIND
(1.0)
13 INTEGER, PRIVATE
:: J1
,J2
14 INTEGER,PARAMETER,PUBLIC
:: S1
= 10, S2
= 9
16 SUBROUTINE SA0136
(RDA
,IDA
,BDA
)
18 INTEGER(I1_KV
) IDA
(S1
,S2
)
19 INTEGER(I1_KV
) ICA
(S1
,S2
)
21 ! T E S T S T A T E M E N T S
23 RDA
(J1
) = RCA
(J1
) + 1.0_R1_KV
25 IDA
(J1
,J2
) = ICA
(J1
,J2
) + 1
28 IDA
(J1
,J2
) = ICA
(J1
,J2
)
34 IDA
(J1
,J2
) = ICA
(J1
,J2
)