1! { dg-do compile }
2! { dg-options "-fcoarray=single -std=f2008" }
3!
4!
5! CO_SUM/CO_MIN/CO_MAX
6!
7program 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." }
12end program test
13