summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/assumed_rank_5.f90
blob: f3d633d12ab96920c5bf27718c362512c1e3eab7 (plain)
1
2
3
4
5
6
7
8
9
! { dg-do compile }
! { dg-options "-std=f2008" }
!
! PR fortran/48820
!
!
subroutine foo(x)
  integer :: x(..)  ! { dg-error "TS 29113/TS 18508: Assumed-rank array" }
end subroutine foo