summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/coarray_5.f90
blob: 46aa311f2d694bb82ff02ef6ce546765c21ab496 (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do compile }
! { dg-options "-std=f2003" }
!
! Coarray support -- corank declarations
! PR fortran/18918
!

integer :: a, b[*]  ! { dg-error "Fortran 2008: Coarray declaration" }
codimension :: a[*] ! { dg-error "Fortran 2008: Coarray declaration" }
end