Retro68/gcc/gcc/testsuite/gfortran.dg/coarray_collectives_10.f90
Wolfgang Thaller 6fbf4226da gcc-9.1
2019-06-20 20:10:10 +02:00

12 lines
375 B
Fortran

! { dg-do compile }
! { dg-options "-fcoarray=single -std=f2008" }
!
!
! CO_REDUCE/CO_BROADCAST
!
program test
implicit none
intrinsic co_reduce ! { dg-error "is not available in the current standard settings but new in Fortran 2018." }
intrinsic co_broadcast ! { dg-error "is not available in the current standard settings but new in Fortran 2018." }
end program test