blob: 6006807fc34a80f22d94203920d8326a78c9e7a5 [file] [log] [blame]
! { dg-do compile }
!
! PR fortran/49624
!
integer, target :: A(100)
integer,pointer :: P(:,:)
p(10,1:) => A ! { dg-error "or list of 'lower-bound : upper-bound'" }
end