1! { dg-do compile }
2! { dg-options "-std=f2008" }
3!
4! PR fortran/48820
5!
6!
7subroutine foo(x)
8  integer :: x(..)  ! { dg-error "TS 29113/TS 18508: Assumed-rank array" }
9end subroutine foo
10