[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gfortran.dg / coarray_collectives_11.f90
blob2d2854ae149dd0dac8b4c0969df0f3e01271ad20
1 ! { dg-do compile }
2 ! { dg-options "-fdump-tree-original -fcoarray=single" }
4 ! CO_BROADCAST
6 program test
7 implicit none
8 intrinsic co_reduce
9 integer :: stat1
10 real :: val
11 call co_broadcast(val, source_image=1, stat=stat1)
12 end program test
14 ! { dg-final { scan-tree-dump-times "stat1 = 0;" 1 "original" } }