blob: 03562caf5902d6363a1cf21e20ad2c2050b856e1 (
plain)
1
2
3
4
5
6
7
8
9
|
! { dg-do compile }
! PR fortran/37580
!
program test
implicit none
real, pointer :: ptr1(:), ptr2(:)
ptr1(1) => ptr2 ! { dg-error "Expected bounds specification" }
ptr1(1:) => ptr2 ! { dg-error "not yet implemented in gfortran" }
end program test
|