2 ! { dg-options "-fdump-tree-original -fcoarray=single" }
9 integer :: stat1
, stat2
, stat3
11 call co_max(val
, stat
=stat1
)
12 call co_min(val
, stat
=stat2
)
13 call co_sum(val
, stat
=stat3
)
16 ! { dg-final { scan-tree-dump-times "stat1 = 0;" 1 "original" } }
17 ! { dg-final { scan-tree-dump-times "stat2 = 0;" 1 "original" } }
18 ! { dg-final { scan-tree-dump-times "stat3 = 0;" 1 "original" } }