Retro68/gcc/gcc/testsuite/gfortran.dg/contiguous_2.f90
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

13 lines
252 B
Fortran

! { dg-do compile }
! { dg-options "-std=f2003" }
!
! PR fortran/40632
!
! CONTIGUOUS compile-time tests
!
integer, pointer, contiguous :: a(:) ! { dg-error "Fortran 2008:" }
integer, pointer :: b(:)
contiguous :: b ! { dg-error "Fortran 2008:" }
end