blob: 0b4d8f5efa717c3930698ace360618fce892b89c (
plain)
1
2
3
4
5
6
7
8
9
|
! { dg-do compile }
! { dg-options "-std=f95" }
! PR fortran/37580
!
program test
implicit none
real, pointer :: ptr1(:), ptr2(:)
ptr1(1:) => ptr2 ! { dg-error "Fortran 2003: Bounds specification" }
end program test
|