2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc/alias-decl.git] / gcc / testsuite / gfortran.dg / pointer_assign_5.f90
blob03562caf5902d6363a1cf21e20ad2c2050b856e1
1 ! { dg-do compile }
2 ! PR fortran/37580
4 program test
5 implicit none
6 real, pointer :: ptr1(:), ptr2(:)
7 ptr1(1) => ptr2 ! { dg-error "Expected bounds specification" }
8 ptr1(1:) => ptr2 ! { dg-error "not yet implemented in gfortran" }
9 end program test