Debian Codegraph @

gcc/testsuite/gfortran.dg/coarray_collectives_2.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-fcoarray=single -std=f2008" }
3 !
4 !
5 ! CO_SUM/CO_MIN/CO_MAX
6 !
7 program test
8 implicit none
9 intrinsic co_max ! { dg-error "is not available in the current standard settings but new in Fortran 2018." }
10 intrinsic co_min ! { dg-error "is not available in the current standard settings but new in Fortran 2018." }
11 intrinsic co_sum ! { dg-error "is not available in the current standard settings but new in Fortran 2018." }
12 end program test