! { dg-do compile }! { dg-options "-fcoarray=single" }! PR fortran/104210! Contributed by G.Steinmetzfunctionf()! { dg-error "shall not be a coarray" }integer:: f[*]endprogram p
interfacefunctionf()! { dg-error "shall not be a coarray" }integer:: f[*]endend interfaceend